janino.net

org.codehaus.janino.util
Class ClassFile.AttributeInfo

java.lang.Object
  extended by org.codehaus.janino.util.ClassFile.AttributeInfo
Direct Known Subclasses:
ClassFile.ConstantValueAttribute, ClassFile.DeprecatedAttribute, ClassFile.ExceptionsAttribute, ClassFile.InnerClassesAttribute, ClassFile.LineNumberTableAttribute, ClassFile.LocalVariableTableAttribute, ClassFile.SourceFileAttribute, ClassFile.SyntheticAttribute
Enclosing class:
ClassFile

public abstract static class ClassFile.AttributeInfo
extends Object

Representation of a class file attribute (see JVMS7 4.7).


Constructor Summary
ClassFile.AttributeInfo(short nameIndex)
           
 
Method Summary
 void store(DataOutputStream dos)
          Writes this attribute to a DataOutputStream, in the format described in JVMS7 4.7.
protected abstract  void storeBody(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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassFile.AttributeInfo

public ClassFile.AttributeInfo(short nameIndex)
Method Detail

store

public void store(DataOutputStream dos)
           throws IOException
Writes this attribute to a DataOutputStream, in the format described in JVMS7 4.7.

Throws:
IOException

storeBody

protected abstract void storeBody(DataOutputStream dos)
                           throws IOException
Writes the body of this attribute in an attribute-type dependent way; see JVMS7 4.7.2 and following.

Throws:
IOException

janino.net