Class ClassFile.AttributeInfo
java.lang.Object
org.codehaus.janino.util.ClassFile.AttributeInfo
- Direct Known Subclasses:
ClassFile.AnnotationDefaultAttribute, ClassFile.AnnotationsAttribute, ClassFile.CodeAttribute, ClassFile.ConstantValueAttribute, ClassFile.DeprecatedAttribute, ClassFile.ExceptionsAttribute, ClassFile.InnerClassesAttribute, ClassFile.LineNumberTableAttribute, ClassFile.LocalVariableTableAttribute, ClassFile.SignatureAttribute, ClassFile.SourceFileAttribute, ClassFile.StackMapTableAttribute, ClassFile.SyntheticAttribute
- Enclosing class:
ClassFile
Representation of a class file attribute (see JVMS7 4.7).
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstore(DataOutputStream dos) Writes this attribute to aDataOutputStream, in the format described in JVMS7 4.7.protected abstract voidWrites the body of this attribute in an attribute-type dependent way; see JVMS7 4.7.2 and following.
-
Field Details
-
nameIndex
private final short nameIndex
-
-
Constructor Details
-
AttributeInfo
public AttributeInfo(short nameIndex)
-
-
Method Details
-
store
Writes this attribute to aDataOutputStream, in the format described in JVMS7 4.7.- Throws:
IOException
-
storeBody
Writes the body of this attribute in an attribute-type dependent way; see JVMS7 4.7.2 and following.- Throws:
IOException
-