-
- All Implemented Interfaces:
public final class ExportsEntry extends SubStructure
Describes a "exports" or "opens" statement in a Module attribute structure.
-
-
Constructor Summary
Constructors Constructor Description ExportsEntry()
-
Method Summary
Modifier and Type Method Description final IntegergetIndex()The index of the CONSTANT_Package_info structure that is exported or opened. final UnitsetIndex(Integer index)The index of the CONSTANT_Package_info structure that is exported or opened. final IntegergetFlags()The flags of the export statement. final UnitsetFlags(Integer flags)The flags of the export statement. final IntArraygetToIndices()Modules to which the exports or opens statement applies. final UnitsetToIndices(IntArray toIndices)Modules to which the exports or opens statement applies. final StringgetFlagsVerbose()IntegergetLength()The length of the structure in bytes. -
-
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.
-
getFlagsVerbose
final String getFlagsVerbose()
-
-
-
-