org.apache.bcel.classfile
public final class PMGClass extends Attribute
Version: $Id: PMGClass.java 152751 2002-03-11 16:16:38Z mdahm $
See Also: Attribute
| Constructor Summary | |
|---|---|
| PMGClass(PMGClass c)
Initialize from another object. | |
| PMGClass(int name_index, int length, int pmg_index, int pmg_class_index, ConstantPool constant_pool) | |
| Method Summary | |
|---|---|
| void | accept(Visitor v)
Called by objects that are traversing the nodes of the tree implicitely
defined by the contents of a Java class. |
| Attribute | copy(ConstantPool constant_pool) |
| void | dump(DataOutputStream file)
Dump source file attribute to file stream in binary format.
|
| int | getPMGClassIndex() |
| String | getPMGClassName() |
| int | getPMGIndex() |
| String | getPMGName() |
| void | setPMGClassIndex(int pmg_class_index) |
| void | setPMGIndex(int pmg_index) |
| String | toString() |
Parameters: name_index Index in constant pool to CONSTANT_Utf8 length Content length in bytes constant_pool Array of constants PMGClass_index Index in constant pool to CONSTANT_Utf8
Parameters: v Visitor object
Returns: deep copy of this attribute
Parameters: file Output file stream
Throws: IOException
Returns: Index in constant pool of source file name.
Returns: PMG class name.
Returns: Index in constant pool of source file name.
Returns: PMG name.
Parameters: PMGClass_index.
Parameters: PMGClass_index.
Returns: String representation