|
|||||||||
| Home >> All >> org >> apache >> derby >> iapi >> services >> [ classfile overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.derby.iapi.services.classfile
Class CONSTANT_Utf8_info

java.lang.Objectorg.apache.derby.iapi.services.classfile.ConstantPoolEntry
org.apache.derby.iapi.services.classfile.CONSTANT_Utf8_info
- final class CONSTANT_Utf8_info
- extends ConstantPoolEntry
Utf8- page 100 - Section 4.4.7
| Field Summary | |
private int |
asCode
|
private int |
asString
|
private java.lang.String |
value
|
| Fields inherited from class org.apache.derby.iapi.services.classfile.ConstantPoolEntry |
doubleSlot, index, tag |
| Constructor Summary | |
(package private) |
CONSTANT_Utf8_info(java.lang.String value)
|
| Method Summary | |
(package private) int |
classFileSize()
We assume here that the String is ASCII, thus this might return a size smaller than actual size. |
(package private) java.lang.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 |
setAsCode()
|
(package private) int |
setAsString()
|
java.lang.String |
toString()
Convert this Object to a human-readable String. |
| Methods inherited from class org.apache.derby.iapi.services.classfile.ConstantPoolEntry |
doubleSlot, getI1, getI2, getIndex, getTag, setIndex |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
value
private final java.lang.String value
asString
private int asString
asCode
private int asCode
| Constructor Detail |
CONSTANT_Utf8_info
CONSTANT_Utf8_info(java.lang.String value)
| Method Detail |
getKey
java.lang.Object getKey()
- Description copied from class:
ConstantPoolEntry - Return 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
public java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).
setAsCode
int setAsCode()
setAsString
int setAsString()
setAlternative
void setAlternative(int index)
put
void put(ClassFormatOutput out) throws java.io.IOException
- Overrides:
putin classConstantPoolEntry
|
|||||||||
| Home >> All >> org >> apache >> derby >> iapi >> services >> [ classfile overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC