anvil.codec
Class FieldRefInfo

java.lang.Object
  |
  +--anvil.codec.Info
        |
        +--anvil.codec.RefInfo
              |
              +--anvil.codec.FieldRefInfo
All Implemented Interfaces:
CodecConstants

public class FieldRefInfo
extends RefInfo


Field Summary
 
Fields inherited from class anvil.codec.RefInfo
_class, _nametype, _pool
 
Fields inherited from class anvil.codec.Info
_index
 
Fields inherited from interface anvil.codec.CodecConstants
ACC_ABSTRACT, ACC_FINAL, ACC_INTERFACE, ACC_NATIVE, ACC_PRIVATE, ACC_PROTECTED, ACC_PUBLIC, ACC_STATIC, ACC_STRICT, ACC_SUPER, ACC_SYNCHRONIZED, ACC_TRANSIENT, ACC_VOLATILE, ATTR_Code, ATTR_ConstantValue, ATTR_Deprecated, ATTR_Exceptions, ATTR_InnerClasses, ATTR_LineNumberTable, ATTR_LocalVariableTable, ATTR_SourceFile, ATTR_Synthetic, CLASS_MAGIC, CONSTANT_Class, CONSTANT_Double, CONSTANT_FieldRef, CONSTANT_Float, CONSTANT_Integer, CONSTANT_InterfaceMethodRef, CONSTANT_Long, CONSTANT_MethodRef, CONSTANT_NameAndType, CONSTANT_SourceFile, CONSTANT_String, CONSTANT_Utf8, MAJOR_VERSION, MINOR_VERSION, T_BOOLEAN, T_BYTE, T_CHAR, T_DOUBLE, T_FLOAT, T_INT, T_LONG, T_SHORT
 
Constructor Summary
FieldRefInfo(ConstantPool pool, int classindex, int nametype)
           
FieldRefInfo(ConstantPool pool, int classindex, int name, int type)
           
FieldRefInfo(ConstantPool pool, int classindex, java.lang.String name, java.lang.String type)
           
FieldRefInfo(ConstantPool pool, java.lang.String classname, java.lang.String name, java.lang.String type)
           
 
Method Summary
 int getFieldWidth()
           
 int getTag()
           
 java.lang.String toString()
           
 
Methods inherited from class anvil.codec.RefInfo
equals, hashCode, write
 
Methods inherited from class anvil.codec.Info
getArgumentCount, getIndex, getWidth, setIndex
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FieldRefInfo

public FieldRefInfo(ConstantPool pool,
                    java.lang.String classname,
                    java.lang.String name,
                    java.lang.String type)

FieldRefInfo

public FieldRefInfo(ConstantPool pool,
                    int classindex,
                    java.lang.String name,
                    java.lang.String type)

FieldRefInfo

public FieldRefInfo(ConstantPool pool,
                    int classindex,
                    int name,
                    int type)

FieldRefInfo

public FieldRefInfo(ConstantPool pool,
                    int classindex,
                    int nametype)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class RefInfo

getTag

public int getTag()
Specified by:
getTag in class Info

getFieldWidth

public int getFieldWidth()