Class ProvidesInfo
- java.lang.Object
-
- proguard.util.SimpleProcessable
-
- proguard.classfile.attribute.module.ProvidesInfo
-
- All Implemented Interfaces:
java.io.Serializable
,Processable
public class ProvidesInfo extends SimpleProcessable
Representation of a Provides entry in aModule
attribute.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description int
u2providesIndex
int
u2providesWithCount
int[]
u2providesWithIndex
-
Fields inherited from class proguard.util.SimpleProcessable
processingFlags, processingInfo
-
-
Constructor Summary
Constructors Constructor Description ProvidesInfo()
Creates an uninitialized ProvidesInfo.ProvidesInfo(int u2providesIndex, int u2providesWithCount, int[] u2providesWithIndex)
Creates an initialized ProvidesInfo.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
providesAccept(Clazz clazz, ConstantVisitor constantVisitor)
Applies the given constant pool visitor to the class constant of the provides, if any.void
withAccept(Clazz clazz, ConstantVisitor constantVisitor)
Applies the given constant pool visitor to all with entries.-
Methods inherited from class proguard.util.SimpleProcessable
addProcessingFlags, getProcessingFlags, getProcessingInfo, hasProcessingFlags, removeProcessingFlags, setProcessingFlags, setProcessingInfo
-
-
-
-
Method Detail
-
providesAccept
public void providesAccept(Clazz clazz, ConstantVisitor constantVisitor)
Applies the given constant pool visitor to the class constant of the provides, if any.
-
withAccept
public void withAccept(Clazz clazz, ConstantVisitor constantVisitor)
Applies the given constant pool visitor to all with entries.
-
-