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.ConstantInvokeDynamicInfo
,ClassFile.ConstantMethodHandleInfo
,ClassFile.ConstantMethodrefInfo
,ClassFile.ConstantMethodTypeInfo
,ClassFile.ConstantNameAndTypeInfo
,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 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 aDataOutputStream
.
-
-
-
Method Detail
-
store
protected abstract void store(java.io.DataOutputStream dos) throws java.io.IOException
Stores this CP entry into aDataOutputStream
.See JVMS7 4.4.1 and following.
- Throws:
java.io.IOException
-
isWide
public 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
-
-