com.caucho.bytecode
Class InterfaceMethodRefConstant

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

public class InterfaceMethodRefConstant
extends ConstantPoolEntry

Represents an interface method ref in the constant pool.


Method Summary
 int export(ConstantPool target)
          Exports to the target pool.
 java.lang.String getClassName()
          Returns the class name
 java.lang.String getName()
          Returns the interface method name
 java.lang.String getType()
          Returns the method type
 void setNameAndType(java.lang.String name, java.lang.String type)
          Sets the method name and type
 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

getClassName

public java.lang.String getClassName()
Returns the class name


getName

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


getType

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


setNameAndType

public void setNameAndType(java.lang.String name,
                           java.lang.String type)
Sets the method name and type


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