Module
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final int | |
| private final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(final Visitor
Visitor object v)Implements com. Called by objects that are traversing the nodes of the tree implicitly defined by the contents of a Java class. |
| public ModuleRequires | |
| public void | dump(final DataOutputStream
Output file stream file)Dump table entry to file stream in binary format. |
| public String | Returns: module nameArray of constants usually obtained from the ClassFile object constantPool)Gets the module name from the constant pool. |
| public int | |
| public String | Returns: required version, "0" if version index is 0.Array of constants usually obtained from the ClassFile object constantPool)Gets the required version from the constant pool. |
| public String | Returns: String representationOverrides java. Returns a string representation of the object. |
| public String |
| requiresFlags | back to summary |
|---|---|
| private final int requiresFlags | |
| requiresIndex | back to summary |
|---|---|
| private final int requiresIndex | |
| requiresVersionIndex | back to summary |
|---|---|
| private final int requiresVersionIndex | |
| ModuleRequires | back to summary |
|---|---|
| pack-priv ModuleRequires(final DataInput file) throws IOException Constructs object from file stream.
| |
| accept | back to summary |
|---|---|
| public void accept(final Visitor v) Implements com. 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 ModuleRequires copy()
| |
| dump | back to summary |
|---|---|
| public void dump(final DataOutputStream file) throws IOException Dump table entry to file stream in binary format.
| |
| getModuleName | back to summary |
|---|---|
| public String getModuleName(final ConstantPool constantPool) Gets the module name from the constant pool.
| |
| getRequiresFlags | back to summary |
|---|---|
| public int getRequiresFlags() Gets the flags for this ModuleRequires.
| |
| getVersion | back to summary |
|---|---|
| public String getVersion(final ConstantPool constantPool) Gets the required version from the constant pool.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| toString | back to summary |
|---|---|
public String toString(final ConstantPool constantPool)
| |