Package org.codehaus.janino.util
Class ClassFile.ConstantUtf8Info
- java.lang.Object
-
- org.codehaus.janino.util.ClassFile.ConstantPoolInfo
-
- org.codehaus.janino.util.ClassFile.ConstantValuePoolInfo
-
- org.codehaus.janino.util.ClassFile.ConstantUtf8Info
-
- Enclosing class:
- ClassFile
public static class ClassFile.ConstantUtf8Info extends ClassFile.ConstantValuePoolInfo
See JVMS7 4.4.7.
-
-
Constructor Summary
Constructors Constructor Description ConstantUtf8Info(String s)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetString()ObjectgetValue(ClassFile classFile)inthashCode()booleanisWide()voidstore(DataOutputStream dos)Stores this CP entry into aDataOutputStream.StringtoString()
-
-
-
Constructor Detail
-
ConstantUtf8Info
public ConstantUtf8Info(String s)
-
-
Method Detail
-
getString
public String getString()
- Returns:
- The string contained in this
ClassFile.ConstantUtf8Info
-
isWide
public boolean isWide()
- Specified by:
isWidein classClassFile.ConstantPoolInfo- Returns:
- Whether this CP entry is "wide" in the sense of JVMS7 4.4.5
-
store
public void store(DataOutputStream dos) throws IOException
Description copied from class:ClassFile.ConstantPoolInfoStores this CP entry into aDataOutputStream.See JVMS7 4.4.1 and following.
- Specified by:
storein classClassFile.ConstantPoolInfo- Throws:
IOException
-
-