Package org.codehaus.janino.util
Class ClassFile.ConstantPoolInfo
- java.lang.Object
-
- 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 java.lang.Object
Base for various the constant pool table entry types.
-
-
Constructor Summary
Constructors Constructor Description ConstantPoolInfo()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract boolean
isWide()
private static ClassFile.ConstantPoolInfo
loadConstantPoolInfo(java.io.DataInputStream dis)
protected abstract void
store(java.io.DataOutputStream dos)
Stores this CP entry into the givenDataOutputStream
.
-
-
-
Method Detail
-
store
protected abstract void store(java.io.DataOutputStream dos) throws java.io.IOException
Stores this CP entry into the givenDataOutputStream
.See JVMS7 4.4.1 and following
- Throws:
java.io.IOException
-
isWide
protected abstract boolean isWide()
- Returns:
- Whether this CP entry is "wide" in the sense of JVMS7 4.4.5
-
loadConstantPoolInfo
private static ClassFile.ConstantPoolInfo loadConstantPoolInfo(java.io.DataInputStream dis) throws java.io.IOException
- Throws:
java.io.IOException
-
-