|
|||||||||
| Home >> All >> com >> chaoswg >> xtc4y >> [ classdesc overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.chaoswg.xtc4y.classdesc
Class InnerClassesAttribute

java.lang.Objectcom.chaoswg.xtc4y.classdesc.Attribute
com.chaoswg.xtc4y.classdesc.InnerClassesAttribute
- public class InnerClassesAttribute
- extends Attribute
This class describes the innerclass attribute
| Field Summary | |
private java.util.Vector |
innerClassInfos
|
static java.lang.String |
NAME
|
| Constructor Summary | |
|
InnerClassesAttribute()
Construct a new code attribute with default values except the code part. |
protected |
InnerClassesAttribute(java.io.DataInputStream dis,
ConstantPool cp,
int length)
Creates a CodeAttribute and initializes it from a DataInputStream The attribute name and length of the attribute information was already read. |
| Method Summary | |
void |
addInnerClassInfo(InnerClassInfo info)
Add a innerclassinfo to the inner class |
void |
clearInnerClassInfo()
clear the innerclass info |
InnerClassInfo[] |
getInnerClassInfos()
|
java.lang.String |
getName()
|
void |
removeInnerClassInfo(InnerClassInfo info)
Remove a innerclassinfo |
protected void |
writeAttribute(java.io.DataOutputStream dos,
ConstantPool cp)
Write the attribute information onto the DataOutputStream, using the constant pool to register variables. |
| Methods inherited from class com.chaoswg.xtc4y.classdesc.Attribute |
toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
innerClassInfos
private java.util.Vector innerClassInfos
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
| Constructor Detail |
InnerClassesAttribute
protected InnerClassesAttribute(java.io.DataInputStream dis, ConstantPool cp, int length) throws java.io.IOException
- Creates a CodeAttribute and initializes it from a DataInputStream
The attribute name and length
of the attribute information was already read.
InnerClassesAttribute
public InnerClassesAttribute()
- Construct a new code attribute with default values except the code
part. The exceptions and attributes are initializes to be empty
| Method Detail |
writeAttribute
protected void writeAttribute(java.io.DataOutputStream dos, ConstantPool cp) throws java.io.IOException
- Write the attribute information onto the DataOutputStream, using the
constant pool to register variables. The Attribute name and the
length of the information will already be written. A specific
attribute implementation should overwrite this method.
- Specified by:
writeAttributein classAttribute
addInnerClassInfo
public void addInnerClassInfo(InnerClassInfo info)
- Add a innerclassinfo to the inner class
removeInnerClassInfo
public void removeInnerClassInfo(InnerClassInfo info)
- Remove a innerclassinfo
clearInnerClassInfo
public void clearInnerClassInfo()
- clear the innerclass info
getInnerClassInfos
public InnerClassInfo[] getInnerClassInfos()
getName
public java.lang.String getName()
|
|||||||||
| Home >> All >> com >> chaoswg >> xtc4y >> [ classdesc overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC