com.caucho.bytecode
Class NameAndTypeConstant

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

public class NameAndTypeConstant
extends ConstantPoolEntry

Represents a name and type ref in the constant pool.


Method Summary
 int export(ConstantPool target)
          Exports to the target pool.
 java.lang.String getName()
          Returns the name
 java.lang.String getType()
          Returns the type descriptor
 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


getType

public java.lang.String getType()
Returns the type descriptor


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