org.apache.bcel.classfile
public final class InnerClass extends Object implements Cloneable, Node, Serializable
See Also: InnerClasses
Constructor Summary | |
---|---|
InnerClass(InnerClass c)
Initialize from another object. | |
InnerClass(int inner_class_index, int outer_class_index, int inner_name_index, int inner_access_flags) |
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. |
InnerClass | copy() |
void | dump(DataOutputStream file)
Dump inner class attribute to file stream in binary format.
|
int | getInnerAccessFlags() |
int | getInnerClassIndex() |
int | getInnerNameIndex() |
int | getOuterClassIndex() |
void | setInnerAccessFlags(int inner_access_flags) |
void | setInnerClassIndex(int inner_class_index) |
void | setInnerNameIndex(int inner_name_index) |
void | setOuterClassIndex(int outer_class_index) |
String | toString() |
String | toString(ConstantPool constant_pool) |
Parameters: inner_class_index Class index in constant pool of inner class outer_class_index Class index in constant pool of outer class inner_name_index Name index in constant pool of inner class inner_access_flags Access flags of inner class
Parameters: v Visitor object
Returns: deep copy of this object
Parameters: file Output file stream
Throws: IOException
Returns: access flags of inner class.
Returns: class index of inner class.
Returns: name index of inner class.
Returns: class index of outer class.
Parameters: inner_access_flags access flags for this inner class
Parameters: inner_class_index index into the constant pool for this class
Parameters: inner_name_index index into the constant pool for this class's name
Parameters: outer_class_index index into the constant pool for the owning class
Returns: String representation.
Returns: Resolved string representation