Package 

Class ModulePackagesAttribute

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final IntArray getIndices() List of packages in the module.
      final Unit setIndices(IntArray indices) List of packages in the module.
      Integer getAttributeLength() 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.