anvil.codec
Class MethodRefInfo

java.lang.Object
  |
  +--anvil.codec.Info
        |
        +--anvil.codec.RefInfo
              |
              +--anvil.codec.MethodRefInfo
All Implemented Interfaces:
CodecConstants
Direct Known Subclasses:
InterfaceMethodRefInfo

public class MethodRefInfo
extends RefInfo


Field Summary
protected  ConstantPool _pool
           
 
Fields inherited from class anvil.codec.RefInfo
_class, _nametype
 
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
MethodRefInfo(ConstantPool pool, int classindex, int nametype)
           
MethodRefInfo(ConstantPool pool, int classindex, int name, int type)
           
MethodRefInfo(ConstantPool pool, int classindex, java.lang.String name, java.lang.String type)
           
MethodRefInfo(ConstantPool pool, java.lang.String classname, java.lang.String name, java.lang.String type)
           
 
Method Summary
 int getArgumentCount()
           
 int getReturnWidth()
           
 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
 

Field Detail

_pool

protected ConstantPool _pool
Constructor Detail

MethodRefInfo

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

MethodRefInfo

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

MethodRefInfo

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

MethodRefInfo

public MethodRefInfo(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

getArgumentCount

public int getArgumentCount()

getReturnWidth

public int getReturnWidth()