Attribute
| Modifier and Type | Field and Description |
|---|---|
| private ModuleExports[] | |
| public static final String | EXTENSION
The module file name extension. |
| private final int | |
| private final int | |
| private final int | |
| private ModuleOpens[] | |
| private ModuleProvides[] | |
| private ModuleRequires[] | |
| private final int | |
| private final int[] |
| Access | Constructor and Description |
|---|---|
| pack-priv | Module(final int
Index in constant pool nameIndex, final int Content length in bytes length, final DataInput Input stream input, final ConstantPool Array of constants constantPool)Constructs object from input stream. |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(final Visitor
Visitor object v)Implements abstract org. Implements org. |
| public Attribute | Returns: deep copy of this attributeconstant pool to save. constantPool)Implements abstract org. |
| public void | dump(final DataOutputStream
Output file stream file)Overrides org. |
| public ModuleExports[] | |
| public ModuleOpens[] | |
| public ModuleProvides[] | |
| public ModuleRequires[] | |
| public String | Returns: String representation, i.e., a list of packages.Overrides org. |
| exportsTable | back to summary |
|---|---|
| private ModuleExports[] exportsTable | |
| EXTENSION | back to summary |
|---|---|
| public static final String EXTENSION The module file name extension.
| |
| moduleFlags | back to summary |
|---|---|
| private final int moduleFlags | |
| moduleNameIndex | back to summary |
|---|---|
| private final int moduleNameIndex | |
| moduleVersionIndex | back to summary |
|---|---|
| private final int moduleVersionIndex | |
| opensTable | back to summary |
|---|---|
| private ModuleOpens[] opensTable | |
| providesTable | back to summary |
|---|---|
| private ModuleProvides[] providesTable | |
| requiresTable | back to summary |
|---|---|
| private ModuleRequires[] requiresTable | |
| usesCount | back to summary |
|---|---|
| private final int usesCount | |
| usesIndex | back to summary |
|---|---|
| private final int[] usesIndex | |
| Module | back to summary |
|---|---|
| pack-priv Module(final int nameIndex, final int length, final DataInput input, final ConstantPool constantPool) throws IOException Constructs object from input stream.
| |
| accept | back to summary |
|---|---|
| public void accept(final Visitor v) Implements abstract org. Implements org. Called by objects that are traversing the nodes of the tree implicitly defined by the contents of a Java class. I.e., the hierarchy of methods, fields, attributes, etc. spawns a tree of objects. | |
| copy | back to summary |
|---|---|
| public Attribute copy(final ConstantPool constantPool) Implements abstract org.
| |
| dump | back to summary |
|---|---|
| public void dump(final DataOutputStream file) throws IOException Overrides org. Dump Module attribute to file stream in binary format.
| |
| getExportsTable | back to summary |
|---|---|
public ModuleExports[] getExportsTable()
| |
| getOpensTable | back to summary |
|---|---|
public ModuleOpens[] getOpensTable()
| |
| getProvidesTable | back to summary |
|---|---|
public ModuleProvides[] getProvidesTable()
| |
| getRequiresTable | back to summary |
|---|---|
public ModuleRequires[] getRequiresTable()
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from java. Returns a string representation of the object. | |