-
- All Implemented Interfaces:
public final class ModulePackagesAttribute extends AttributeInfo
Describes a ModulePackages attribute structure.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classModulePackagesAttribute.Companion
-
Constructor Summary
Constructors Constructor Description ModulePackagesAttribute(ClassFile classFile)
-
Method Summary
Modifier and Type Method Description final IntArraygetIndices()List of packages in the module. final UnitsetIndices(IntArray indices)List of packages in the module. IntegergetAttributeLength()Get the length of this attribute in bytes. -
Methods inherited from class org.gjt.jclasslib.structures.AttributeInfo
getAttributeNameIndex, getName, setAttributeNameIndex -
Methods inherited from class org.gjt.jclasslib.structures.Structure
read, write -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ModulePackagesAttribute
ModulePackagesAttribute(ClassFile classFile)
-
-
Method Detail
-
getIndices
final IntArray getIndices()
List of packages in the module. Contains the indices of CONSTANT_Package_info structures in the constant pool.
-
setIndices
final Unit setIndices(IntArray indices)
List of packages in the module. Contains the indices of CONSTANT_Package_info structures in the constant pool.
-
getAttributeLength
Integer getAttributeLength()
Get the length of this attribute in bytes.
-
-
-
-