public class InnerClassesAttr extends Attribute
Constructor and Description |
---|
InnerClassesAttr(ClassType cl)
Add a new InnerClassesAttr to a ClassType.
|
InnerClassesAttr(short[] data,
ClassType cl) |
Modifier and Type | Method and Description |
---|---|
void |
assignConstants(ClassType cl)
Add any needed constant pool entries for this Attribute.
|
static InnerClassesAttr |
getFirstInnerClasses(Attribute attr) |
int |
getLength()
Return the length of the attribute in bytes.
|
void |
print(ClassTypeWriter dst) |
void |
write(java.io.DataOutputStream dstr)
Write out the contents of the Attribute.
|
addToFrontOf, assignConstants, count, get, getConstants, getContainer, getLengthAll, getName, getNameIndex, getNext, isSkipped, setContainer, setName, setNameIndex, setNext, setSkipped, setSkipped, writeAll
public InnerClassesAttr(ClassType cl)
public InnerClassesAttr(short[] data, ClassType cl)
public static InnerClassesAttr getFirstInnerClasses(Attribute attr)
public void assignConstants(ClassType cl)
Attribute
assignConstants
in class Attribute
public int getLength()
public void write(java.io.DataOutputStream dstr) throws java.io.IOException
public void print(ClassTypeWriter dst)