Package 

Class ExportsEntry

  • All Implemented Interfaces:

    
    public final class ExportsEntry
    extends SubStructure
                        

    Describes a "exports" or "opens" statement in a Module attribute structure.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      ExportsEntry()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Integer getIndex() The index of the CONSTANT_Package_info structure that is exported or opened.
      final Unit setIndex(Integer index) The index of the CONSTANT_Package_info structure that is exported or opened.
      final Integer getFlags() The flags of the export statement.
      final Unit setFlags(Integer flags) The flags of the export statement.
      final IntArray getToIndices() Modules to which the exports or opens statement applies.
      final Unit setToIndices(IntArray toIndices) Modules to which the exports or opens statement applies.
      final String getFlagsVerbose()
      Integer getLength() The length of the structure in bytes.
      • 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

      • ExportsEntry

        ExportsEntry()
    • Method Detail

      • getIndex

         final Integer getIndex()

        The index of the CONSTANT_Package_info structure that is exported or opened.

      • setIndex

         final Unit setIndex(Integer index)

        The index of the CONSTANT_Package_info structure that is exported or opened.

      • getToIndices

         final IntArray getToIndices()

        Modules to which the exports or opens statement applies. Empty array if exported to all modules.

      • setToIndices

         final Unit setToIndices(IntArray toIndices)

        Modules to which the exports or opens statement applies. Empty array if exported to all modules.