public class RequiresInfo extends SimpleProcessable
Module
attribute.Modifier and Type | Field and Description |
---|---|
int |
u2requiresFlags |
int |
u2requiresIndex |
int |
u2requiresVersionIndex |
processingFlags, processingInfo
Constructor and Description |
---|
RequiresInfo()
Creates an uninitialized RequiresInfo.
|
RequiresInfo(int u2requiresIndex,
int u2requiresFlags,
int u2requiresVersionIndex)
Creates an uninitialized RequiresInfo.
|
Modifier and Type | Method and 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.
|
addProcessingFlags, getProcessingFlags, getProcessingInfo, hasProcessingFlags, removeProcessingFlags, setProcessingFlags, setProcessingInfo
public int u2requiresIndex
public int u2requiresFlags
public int u2requiresVersionIndex
public RequiresInfo()
public RequiresInfo(int u2requiresIndex, int u2requiresFlags, int u2requiresVersionIndex)
public void moduleAccept(Clazz clazz, ConstantVisitor constantVisitor)
public void versionAccept(Clazz clazz, ConstantVisitor constantVisitor)