Package org.codehaus.janino.util
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
public abstract static class ClassFile.AttributeInfo extends java.lang.Object
Representation of a class file attribute (see JVMS7 4.7).
-
-
Constructor Summary
Constructors Constructor Description AttributeInfo(short nameIndex)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
store(java.io.DataOutputStream dos)
Writes this attribute to aDataOutputStream
, in the format described in JVMS7 4.7.protected abstract void
storeBody(java.io.DataOutputStream dos)
Writes the body of this attribute in an attribute-type dependent way; see JVMS7 4.7.2 and following.
-
-
-
Method Detail
-
store
public void store(java.io.DataOutputStream dos) throws java.io.IOException
Writes this attribute to aDataOutputStream
, in the format described in JVMS7 4.7.- Throws:
java.io.IOException
-
storeBody
protected abstract void storeBody(java.io.DataOutputStream dos) throws java.io.IOException
Writes the body of this attribute in an attribute-type dependent way; see JVMS7 4.7.2 and following.- Throws:
java.io.IOException
-
-