Class Requires
- java.lang.Object
-
- com.tonic.parser.attribute.module.Requires
-
public class Requires extends Object
Represents a requires entry in the Module attribute.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetRequiresFlags()intgetRequiresIndex()intgetRequiresVersionIndex()StringtoString()
-
-
-
Constructor Detail
-
Requires
public Requires(ConstPool constPool, int requiresIndex, int requiresFlags, int requiresVersionIndex)
Creates a requires entry from its raw constant pool indexes.- Parameters:
constPool- the pool the indexes refer intorequiresIndex- the module entry index of the required modulerequiresFlags- the requires access flagsrequiresVersionIndex- the UTF-8 index of the required version, or 0 if absent
-
-