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 ConstantPoolEntry
doubleSlot, index, tag -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) intWe assume here that the String is ASCII, thus this might return a size smaller than actual size.(package private) ObjectgetKey()Return the key used to key this object in a hashtable(package private) voidput(ClassFormatOutput out) (package private) voidsetAlternative(int index) (package private) int(package private) inttoString()Methods inherited from class 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:ConstantPoolEntryReturn the key used to key this object in a hashtable- Overrides:
getKeyin classConstantPoolEntry
-
classFileSize
int classFileSize()We assume here that the String is ASCII, thus this might return a size smaller than actual size.- Specified by:
classFileSizein classConstantPoolEntry
-
toString
-
setAsCode
int setAsCode() -
setAsString
int setAsString() -
setAlternative
void setAlternative(int index) -
put
- Overrides:
putin classConstantPoolEntry- Throws:
IOException
-