Package org.codehaus.janino.util
Class ClassFile.ConstantUtf8Info
- java.lang.Object
-
- org.codehaus.janino.util.ClassFile.ConstantPoolInfo
-
- org.codehaus.janino.util.ClassFile.ConstantUtf8Info
-
- Enclosing class:
- ClassFile
public static class ClassFile.ConstantUtf8Info extends ClassFile.ConstantPoolInfo
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 boolean
equals(Object o)
String
getString()
int
hashCode()
boolean
isWide()
void
store(DataOutputStream dos)
Stores this CP entry into the givenDataOutputStream
.
-
-
-
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:
isWide
in 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.ConstantPoolInfo
Stores this CP entry into the givenDataOutputStream
.See JVMS7 4.4.1 and following
- Specified by:
store
in classClassFile.ConstantPoolInfo
- Throws:
IOException
-
-