janino.net

org.codehaus.janino.util
Class ClassFile.ConstantPoolInfo

java.lang.Object
  extended by org.codehaus.janino.util.ClassFile.ConstantPoolInfo
Direct Known Subclasses:
ClassFile.ConstantClassInfo, ClassFile.ConstantFieldrefInfo, ClassFile.ConstantInterfaceMethodrefInfo, ClassFile.ConstantMethodrefInfo, ClassFile.ConstantNameAndTypeInfo, ClassFile.ConstantUtf8Info, ClassFile.ConstantValuePoolInfo
Enclosing class:
ClassFile

public abstract static class ClassFile.ConstantPoolInfo
extends Object

Base for various the constant pool table entry types.


Constructor Summary
ClassFile.ConstantPoolInfo()
           
 
Method Summary
protected abstract  boolean isWide()
           
protected abstract  void store(DataOutputStream dos)
          Stores this CP entry into the given DataOutputStream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassFile.ConstantPoolInfo

public ClassFile.ConstantPoolInfo()
Method Detail

store

protected abstract void store(DataOutputStream dos)
                       throws IOException
Stores this CP entry into the given DataOutputStream.

See JVMS7 4.4.1 and following

Throws:
IOException

isWide

protected abstract boolean isWide()
Returns:
Whether this CP entry is "wide" in the sense of JVMS7 4.4.5

janino.net