Package org.codehaus.janino.util
Class ClassFile.InnerClassesAttribute
- java.lang.Object
-
- org.codehaus.janino.util.ClassFile.AttributeInfo
-
- org.codehaus.janino.util.ClassFile.InnerClassesAttribute
-
- Enclosing class:
- ClassFile
public static class ClassFile.InnerClassesAttribute extends ClassFile.AttributeInfo
Representation of anInnerClassesattribute (see JVMS 4.7.5).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClassFile.InnerClassesAttribute.EntryThe structure of theclassesarray as described in JVMS7 4.7.6.
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<ClassFile.InnerClassesAttribute.Entry>entries
-
Constructor Summary
Constructors Constructor Description InnerClassesAttribute(short attributeNameIndex)InnerClassesAttribute(short attributeNameIndex, ClassFile.InnerClassesAttribute.Entry[] entries)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ClassFile.InnerClassesAttribute.Entry>getEntries()private static ClassFile.AttributeInfoloadBody(short attributeNameIndex, java.io.DataInputStream dis)protected voidstoreBody(java.io.DataOutputStream dos)Writes the body of this attribute in an attribute-type dependent way; see JVMS7 4.7.2 and following.-
Methods inherited from class org.codehaus.janino.util.ClassFile.AttributeInfo
store
-
-
-
-
Field Detail
-
entries
private final java.util.List<ClassFile.InnerClassesAttribute.Entry> entries
-
-
Constructor Detail
-
InnerClassesAttribute
InnerClassesAttribute(short attributeNameIndex)
-
InnerClassesAttribute
InnerClassesAttribute(short attributeNameIndex, ClassFile.InnerClassesAttribute.Entry[] entries)
-
-
Method Detail
-
getEntries
public java.util.List<ClassFile.InnerClassesAttribute.Entry> getEntries()
- Returns:
- The
ClassFile.InnerClassesAttribute.Entrys contained in thisClassFile.InnerClassesAttribute, see JVMS7 4.7.6
-
loadBody
private static ClassFile.AttributeInfo loadBody(short attributeNameIndex, java.io.DataInputStream dis) throws java.io.IOException
- Throws:
java.io.IOException
-
storeBody
protected void storeBody(java.io.DataOutputStream dos) throws java.io.IOExceptionDescription copied from class:ClassFile.AttributeInfoWrites the body of this attribute in an attribute-type dependent way; see JVMS7 4.7.2 and following.- Specified by:
storeBodyin classClassFile.AttributeInfo- Throws:
java.io.IOException
-
-