com.caucho.bytecode
Class StringConstant

java.lang.Object
  extended by com.caucho.bytecode.ConstantPoolEntry
      extended by com.caucho.bytecode.StringConstant

public class StringConstant
extends ConstantPoolEntry

Represents a string pointer in the constant pool.


Method Summary
 int export(ConstantPool target)
          Exports to the target pool.
 java.lang.String getString()
          Returns the UTF string.
 java.lang.String toString()
           
 
Methods inherited from class com.caucho.bytecode.ConstantPoolEntry
getConstantPool, getIndex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getString

public java.lang.String getString()
Returns the UTF string.


export

public int export(ConstantPool target)
Exports to the target pool.

Returns:
the index in the target pool.

toString

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