org.apache.derby.iapi.services.classfile
Class CONSTANT_Utf8_info

java.lang.Object
  extended by org.apache.derby.iapi.services.classfile.ConstantPoolEntry
      extended by org.apache.derby.iapi.services.classfile.CONSTANT_Utf8_info

public 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
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()
           
 
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:
getKey in class ConstantPoolEntry

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 class ConstantPoolEntry

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

setAsCode

int setAsCode()

setAsString

int setAsString()

setAlternative

void setAlternative(int index)

put

void put(ClassFormatOutput out)
   throws java.io.IOException
Overrides:
put in class ConstantPoolEntry
Throws:
java.io.IOException

Built on Thu 2010-12-23 20:49:13+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.