Class CONSTANT_Utf8_info
java.lang.Object
org.apache.derby.iapi.services.classfile.ConstantPoolEntry
org.apache.derby.iapi.services.classfile.CONSTANT_Utf8_info
Utf8- page 100 - Section 4.4.7
-
Field Summary
FieldsFields inherited from class org.apache.derby.iapi.services.classfile.ConstantPoolEntry
doubleSlot, index, tag
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) int
We assume here that the String is ASCII, thus this might return a size smaller than actual size.(package private) Object
getKey()
Return the key used to key this object in a hashtable(package private) void
put
(ClassFormatOutput out) (package private) void
setAlternative
(int index) (package private) int
(package private) int
toString()
Methods inherited from class org.apache.derby.iapi.services.classfile.ConstantPoolEntry
doubleSlot, getI1, getI2, getIndex, getTag, setIndex
-
Field Details
-
value
-
asString
private int asString -
asCode
private int asCode
-
-
Constructor Details
-
CONSTANT_Utf8_info
CONSTANT_Utf8_info(String value)
-
-
Method Details
-
getKey
Object getKey()Description copied from class:ConstantPoolEntry
Return the key used to key this object in a hashtable- Overrides:
getKey
in classConstantPoolEntry
-
classFileSize
int classFileSize()We assume here that the String is ASCII, thus this might return a size smaller than actual size.- Specified by:
classFileSize
in classConstantPoolEntry
-
toString
-
setAsCode
int setAsCode() -
setAsString
int setAsString() -
setAlternative
void setAlternative(int index) -
put
- Overrides:
put
in classConstantPoolEntry
- Throws:
IOException
-