classycle.classfile
Class MethodRefConstant

java.lang.Object
  extended by classycle.classfile.Constant
      extended by classycle.classfile.RefConstant
          extended by classycle.classfile.MethodRefConstant

public class MethodRefConstant
extends RefConstant

Reference constant for a method.

Author:
Franz-Josef Elmer

Constructor Summary
MethodRefConstant(Constant[] pool, int classIndex, int nameAndTypeIndex)
           
 
Method Summary
 java.lang.String toString()
          Returns constant type, class name, method name, and descriptor.
 
Methods inherited from class classycle.classfile.RefConstant
getClassConstant, getNameAndType, toString
 
Methods inherited from class classycle.classfile.Constant
extractConstantPool, getConstant
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MethodRefConstant

public MethodRefConstant(Constant[] pool,
                         int classIndex,
                         int nameAndTypeIndex)
Method Detail

toString

public java.lang.String toString()
Returns constant type, class name, method name, and descriptor.

Overrides:
toString in class java.lang.Object