Class RequiresInfo
java.lang.Object
proguard.util.SimpleProcessable
proguard.classfile.attribute.module.RequiresInfo
- All Implemented Interfaces:
Serializable,Processable
Representation of a Requires entry in a
Module attribute.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionintintintFields inherited from class proguard.util.SimpleProcessable
processingFlags, processingInfo -
Constructor Summary
ConstructorsConstructorDescriptionCreates an uninitialized RequiresInfo.RequiresInfo(int u2requiresIndex, int u2requiresFlags, int u2requiresVersionIndex) Creates an uninitialized RequiresInfo. -
Method Summary
Modifier and TypeMethodDescriptionvoidmoduleAccept(Clazz clazz, ConstantVisitor constantVisitor) Applies the given constant pool visitor to the module constant of the module, if any.voidversionAccept(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, setProcessingInfoMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface proguard.util.Processable
accept
-
Field Details
-
u2requiresIndex
public int u2requiresIndex -
u2requiresFlags
public int u2requiresFlags -
u2requiresVersionIndex
public int u2requiresVersionIndex
-
-
Constructor Details
-
RequiresInfo
public RequiresInfo()Creates an uninitialized RequiresInfo. -
RequiresInfo
public RequiresInfo(int u2requiresIndex, int u2requiresFlags, int u2requiresVersionIndex) Creates an uninitialized RequiresInfo.
-
-
Method Details
-
moduleAccept
Applies the given constant pool visitor to the module constant of the module, if any. -
versionAccept
Applies the given constant pool visitor to the Utf8 constant of the version, if any.
-