org.apache.bcel.classfile
public final class PMGClass extends Attribute
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 pmg_index index in constant pool for source file name pmg_class_index Index in constant pool to CONSTANT_Utf8 constant_pool Array of constants
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: pmg_class_index
Parameters: pmg_index
Returns: String representation