com.android.dx.rop.cst
Class CstInterfaceMethodRef

java.lang.Object
  extended by com.android.dx.rop.cst.Constant
      extended by com.android.dx.rop.cst.TypedConstant
          extended by com.android.dx.rop.cst.CstMemberRef
              extended by com.android.dx.rop.cst.CstBaseMethodRef
                  extended by com.android.dx.rop.cst.CstInterfaceMethodRef
All Implemented Interfaces:
TypeBearer, ToHuman, Comparable<Constant>

public final class CstInterfaceMethodRef
extends CstBaseMethodRef

Constants of type CONSTANT_InterfaceMethodref_info.


Constructor Summary
CstInterfaceMethodRef(CstType definingClass, CstNat nat)
          Constructs an instance.
 
Method Summary
 CstMethodRef toMethodRef()
          Gets a normal (non-interface) CstMethodRef that corresponds to this instance.
 String typeName()
          Returns the human name for the particular type of constant this instance is.
 
Methods inherited from class com.android.dx.rop.cst.CstBaseMethodRef
compareTo0, getParameterWordCount, getPrototype, getPrototype, getType, isClassInit, isInstanceInit
 
Methods inherited from class com.android.dx.rop.cst.CstMemberRef
equals, getDefiningClass, getNat, hashCode, isCategory2, toHuman, toString
 
Methods inherited from class com.android.dx.rop.cst.TypedConstant
getBasicFrameType, getBasicType, getFrameType, isConstant
 
Methods inherited from class com.android.dx.rop.cst.Constant
compareTo
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CstInterfaceMethodRef

public CstInterfaceMethodRef(CstType definingClass,
                             CstNat nat)
Constructs an instance.

Parameters:
definingClass - non-null; the type of the defining class
nat - non-null; the name-and-type
Method Detail

typeName

public String typeName()
Returns the human name for the particular type of constant this instance is.

Specified by:
typeName in class Constant
Returns:
non-null; the name

toMethodRef

public CstMethodRef toMethodRef()
Gets a normal (non-interface) CstMethodRef that corresponds to this instance.

Returns:
non-null; an appropriate instance


Copyright © 2013. All Rights Reserved.