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
Base for various the constant pool table entry types.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
isWide()
private static ClassFile.ConstantPoolInfo
protected abstract void
store
(DataOutputStream dos) Stores this CP entry into aDataOutputStream
.
-
Constructor Details
-
ConstantPoolInfo
public ConstantPoolInfo()
-
-
Method Details
-
store
Stores this CP entry into aDataOutputStream
.See JVMS7 4.4.1 and following.
- Throws:
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(DataInputStream dis) throws IOException - Throws:
IOException
-