Top Description Fields Constructors Methods
org.apache.derby.iapi.services.classfile

public final Class CONSTANT_Utf8_info

extends ConstantPoolEntry
Class Inheritance
Imports
org.apache.derby.iapi.services.classfile.VMDescriptor, java.io.IOException

Utf8- page 100 - Section 4.4.7

Field Summary

Modifier and TypeField and Description
private int
private int
private final String
Inherited from org.apache.derby.iapi.services.classfile.ConstantPoolEntry:
doubleSlotindextag

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv int
classFileSize()

Implements abstract org.apache.derby.iapi.services.classfile.ConstantPoolEntry.classFileSize.

We assume here that the String is ASCII, thus this might return a size smaller than actual size.
pack-priv Object
getKey()

Overrides org.apache.derby.iapi.services.classfile.ConstantPoolEntry.getKey.

Return the key used to key this object in a hashtable
pack-priv void
pack-priv void
setAlternative(int index)

pack-priv int
pack-priv int
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from org.apache.derby.iapi.services.classfile.ConstantPoolEntry:
doubleSlotgetI1getI2getIndexgetTagsetIndex

Field Detail

asCodeback to summary
private int asCode
asStringback to summary
private int asString
valueback to summary
private final String value

Constructor Detail

CONSTANT_Utf8_infoback to summary
pack-priv CONSTANT_Utf8_info(String value)

Method Detail

classFileSizeback to summary
pack-priv int classFileSize()

Implements abstract org.apache.derby.iapi.services.classfile.ConstantPoolEntry.classFileSize.

We assume here that the String is ASCII, thus this might return a size smaller than actual size.

getKeyback to summary
pack-priv Object getKey()

Overrides org.apache.derby.iapi.services.classfile.ConstantPoolEntry.getKey.

Doc from org.apache.derby.iapi.services.classfile.ConstantPoolEntry.getKey.

Return the key used to key this object in a hashtable

putback to summary
pack-priv void put(ClassFormatOutput out) throws IOException

Overrides org.apache.derby.iapi.services.classfile.ConstantPoolEntry.put.

setAlternativeback to summary
pack-priv void setAlternative(int index)
setAsCodeback to summary
pack-priv int setAsCode()
setAsStringback to summary
pack-priv int setAsString()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.