com.caucho.bytecode
Class ClassConstant

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

public class ClassConstant
extends ConstantPoolEntry

Represents a class in the constant pool.


Method Summary
 int export(ConstantPool target)
          Exports to the target pool.
 java.lang.String getName()
          Returns the name.
 int getNameIndex()
          Returns the name index.
 void setNameIndex(int index)
          Sets the name index.
 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

getName

public java.lang.String getName()
Returns the name.


getNameIndex

public int getNameIndex()
Returns the name index.


setNameIndex

public void setNameIndex(int index)
Sets the name index.


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