Class RequiresInfo
- java.lang.Object
-
- proguard.util.SimpleProcessable
-
- proguard.classfile.attribute.module.RequiresInfo
-
- All Implemented Interfaces:
java.io.Serializable
,Processable
public class RequiresInfo extends SimpleProcessable
Representation of a Requires entry in aModule
attribute.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description int
u2requiresFlags
int
u2requiresIndex
int
u2requiresVersionIndex
-
Fields inherited from class proguard.util.SimpleProcessable
processingFlags, processingInfo
-
-
Constructor Summary
Constructors Constructor Description RequiresInfo()
Creates an uninitialized RequiresInfo.RequiresInfo(int u2requiresIndex, int u2requiresFlags, int u2requiresVersionIndex)
Creates an uninitialized RequiresInfo.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
moduleAccept(Clazz clazz, ConstantVisitor constantVisitor)
Applies the given constant pool visitor to the module constant of the module, if any.void
versionAccept(Clazz clazz, ConstantVisitor constantVisitor)
Applies the given constant pool visitor to the Utf8 constant of the version, if any.-
Methods inherited from class proguard.util.SimpleProcessable
addProcessingFlags, getProcessingFlags, getProcessingInfo, hasProcessingFlags, removeProcessingFlags, setProcessingFlags, setProcessingInfo
-
-
-
-
Method Detail
-
moduleAccept
public void moduleAccept(Clazz clazz, ConstantVisitor constantVisitor)
Applies the given constant pool visitor to the module constant of the module, if any.
-
versionAccept
public void versionAccept(Clazz clazz, ConstantVisitor constantVisitor)
Applies the given constant pool visitor to the Utf8 constant of the version, if any.
-
-