janino.net

org.codehaus.janino.util
Class ClassFile.ConstantValueAttribute

java.lang.Object
  extended by org.codehaus.janino.util.ClassFile.AttributeInfo
      extended by org.codehaus.janino.util.ClassFile.ConstantValueAttribute
Enclosing class:
ClassFile

public static class ClassFile.ConstantValueAttribute
extends ClassFile.AttributeInfo

Representation of a "ConstantValue" attribute (see JVMS 4.7.2).


Method Summary
 ClassFile.ConstantValuePoolInfo getConstantValue(ClassFile classFile)
           
protected  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 org.codehaus.janino.util.ClassFile.AttributeInfo
store
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getConstantValue

public ClassFile.ConstantValuePoolInfo getConstantValue(ClassFile classFile)
Returns:
The constant value contained in this attribute

storeBody

protected void storeBody(DataOutputStream dos)
                  throws IOException
Description copied from class: ClassFile.AttributeInfo
Writes the body of this attribute in an attribute-type dependent way; see JVMS7 4.7.2 and following.

Specified by:
storeBody in class ClassFile.AttributeInfo
Throws:
IOException

janino.net