org.apache.tomcat.util.bcel.classfile
Class InnerClass
java.lang.Object
org.apache.tomcat.util.bcel.classfile.InnerClass
- All Implemented Interfaces:
- Serializable, Cloneable
public final class InnerClass
- extends Object
- implements Cloneable, Serializable
This class represents a inner class attribute, i.e., the class
indices of the inner and outer classes, the name and the attributes
of the inner class.
- Version:
- $Id: InnerClass.java 1057670 2011-01-11 14:52:05Z markt $
- Author:
- M. Dahm
- See Also:
InnerClasses
,
Serialized Form
Constructor Summary |
InnerClass(int inner_class_index,
int outer_class_index,
int inner_name_index,
int inner_access_flags)
|
InnerClass
public InnerClass(int inner_class_index,
int outer_class_index,
int inner_name_index,
int inner_access_flags)
- Parameters:
inner_class_index
- Class index in constant pool of inner classouter_class_index
- Class index in constant pool of outer classinner_name_index
- Name index in constant pool of inner classinner_access_flags
- Access flags of inner class
dump
public final void dump(DataOutputStream file)
throws IOException
- Dump inner class attribute to file stream in binary format.
- Parameters:
file
- Output file stream
- Throws:
IOException
toString
public final String toString()
- Overrides:
toString
in class Object
- Returns:
- String representation.
toString
public final String toString(ConstantPool constant_pool)
- Returns:
- Resolved string representation
copy
public InnerClass copy()
- Returns:
- deep copy of this object
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.