Attribute
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private int |
| Access | Constructor and Description |
|---|---|
| pack-priv | PMGClass(final int
Index in constant pool to CONSTANT_Utf8 nameIndex, final int Content length in bytes length, final DataInput Input stream input, final ConstantPool Array of constants constantPool)Constructs object from input stream. |
| public | PMGClass(final int
Index in constant pool to CONSTANT_Utf8 nameIndex, final int Content length in bytes length, final int index in constant pool for source file name pmgIndex, final int Index in constant pool to CONSTANT_Utf8 pmgClassIndex, final ConstantPool Array of constants constantPool)
|
| public |
| 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 int | |
| public String | |
| public int | |
| public String | |
| public void | |
| public void | |
| public String | Returns: String representationOverrides org. |
| pmgClassIndex | back to summary |
|---|---|
| private int pmgClassIndex | |
| pmgIndex | back to summary |
|---|---|
| private int pmgIndex | |
| PMGClass | back to summary |
|---|---|
| pack-priv PMGClass(final int nameIndex, final int length, final DataInput input, final ConstantPool constantPool) throws IOException Constructs object from input stream.
| |
| PMGClass | back to summary |
|---|---|
public PMGClass(final int nameIndex, final int length, final int pmgIndex, final int pmgClassIndex, final ConstantPool constantPool)
| |
| PMGClass | back to summary |
|---|---|
| public PMGClass(final PMGClass pgmClass) Initialize from another object. Note that both objects use the same references (shallow copy). Use copy() for a physical copy.
| |
| 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 source file attribute to file stream in binary format.
| |
| getPMGClassIndex | back to summary |
|---|---|
public int getPMGClassIndex()
| |
| getPMGClassName | back to summary |
|---|---|
public String getPMGClassName()
| |
| getPMGIndex | back to summary |
|---|---|
public int getPMGIndex()
| |
| getPMGName | back to summary |
|---|---|
public String getPMGName()
| |
| setPMGClassIndex | back to summary |
|---|---|
| public void setPMGClassIndex(final int pmgClassIndex) | |
| setPMGIndex | back to summary |
|---|---|
| public void setPMGIndex(final int pmgIndex) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from java. Returns a string representation of the object. | |