classycle.classfile
Class FieldRefConstant

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

public class FieldRefConstant
extends RefConstant

Reference constant for a field.

Author:
Franz-Josef Elmer

Constructor Summary
FieldRefConstant(Constant[] pool, int classIndex, int nameAndTypeIndex)
           
 
Method Summary
 java.lang.String toString()
          Returns constant type, class name, field 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

FieldRefConstant

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

toString

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

Overrides:
toString in class java.lang.Object