| java.lang.Object javassist.bytecode.AttributeInfo javassist.bytecode.InnerClassesAttribute
InnerClassesAttribute | public class InnerClassesAttribute extends AttributeInfo (Code) | | InnerClasses_attribute .
|
Field Summary | |
final public static String | tag The name of this attribute "InnerClasses" . |
Method Summary | |
public int | accessFlags(int nth) Returns classes[nth].inner_class_access_flags . | public void | append(String inner, String outer, String name, int flags) Appends a new entry. | public void | append(int inner, int outer, int name, int flags) Appends a new entry. | public AttributeInfo | copy(ConstPool newCp, Map classnames) Makes a copy. | public String | innerClass(int nth) Returns the class name indicated
by classes[nth].inner_class_info_index . | public int | innerClassIndex(int nth) Returns classes[nth].inner_class_info_index . | public String | innerName(int nth) Returns the simple class name indicated
by classes[nth].inner_name_index . | public int | innerNameIndex(int nth) Returns classes[nth].inner_name_index . | public String | outerClass(int nth) Returns the class name indicated
by classes[nth].outer_class_info_index . | public int | outerClassIndex(int nth) Returns classes[nth].outer_class_info_index . | public void | setAccessFlags(int nth, int flags) Sets classes[nth].inner_class_access_flags to
the given index. | public void | setInnerClassIndex(int nth, int index) Sets classes[nth].inner_class_info_index to
the given index. | public void | setInnerNameIndex(int nth, int index) Sets classes[nth].inner_name_index to
the given index. | public void | setOuterClassIndex(int nth, int index) Sets classes[nth].outer_class_info_index to
the given index. | public int | tableLength() Returns number_of_classes . |
tag | final public static String tag(Code) | | The name of this attribute "InnerClasses" .
|
accessFlags | public int accessFlags(int nth)(Code) | | Returns classes[nth].inner_class_access_flags .
|
append | public void append(String inner, String outer, String name, int flags)(Code) | | Appends a new entry.
Parameters: inner - inner_class_info_index Parameters: outer - outer_class_info_index Parameters: name - inner_name_index Parameters: flags - inner_class_access_flags |
append | public void append(int inner, int outer, int name, int flags)(Code) | | Appends a new entry.
Parameters: inner - inner_class_info_index Parameters: outer - outer_class_info_index Parameters: name - inner_name_index Parameters: flags - inner_class_access_flags |
copy | public AttributeInfo copy(ConstPool newCp, Map classnames)(Code) | | Makes a copy. Class names are replaced according to the
given Map object.
Parameters: newCp - the constant pool table used by the new copy. Parameters: classnames - pairs of replaced and substitutedclass names. |
innerClass | public String innerClass(int nth)(Code) | | Returns the class name indicated
by classes[nth].inner_class_info_index .
null or the class name. |
innerClassIndex | public int innerClassIndex(int nth)(Code) | | Returns classes[nth].inner_class_info_index .
|
innerName | public String innerName(int nth)(Code) | | Returns the simple class name indicated
by classes[nth].inner_name_index .
null or the class name. |
innerNameIndex | public int innerNameIndex(int nth)(Code) | | Returns classes[nth].inner_name_index .
|
outerClass | public String outerClass(int nth)(Code) | | Returns the class name indicated
by classes[nth].outer_class_info_index .
null or the class name. |
outerClassIndex | public int outerClassIndex(int nth)(Code) | | Returns classes[nth].outer_class_info_index .
|
setAccessFlags | public void setAccessFlags(int nth, int flags)(Code) | | Sets classes[nth].inner_class_access_flags to
the given index.
|
setInnerClassIndex | public void setInnerClassIndex(int nth, int index)(Code) | | Sets classes[nth].inner_class_info_index to
the given index.
|
setInnerNameIndex | public void setInnerNameIndex(int nth, int index)(Code) | | Sets classes[nth].inner_name_index to
the given index.
|
setOuterClassIndex | public void setOuterClassIndex(int nth, int index)(Code) | | Sets classes[nth].outer_class_info_index to
the given index.
|
tableLength | public int tableLength()(Code) | | Returns number_of_classes .
|
|
|