com.android.dx.cf.iface
Class StdMethod

java.lang.Object
  extended by com.android.dx.cf.iface.StdMember
      extended by com.android.dx.cf.iface.StdMethod
All Implemented Interfaces:
Member, Method

public final class StdMethod
extends StdMember
implements Method

Standard implementation of Method, which directly stores all the associated data.


Constructor Summary
StdMethod(CstType definingClass, int accessFlags, CstNat nat, AttributeList attributes)
          Constructs an instance.
 
Method Summary
 Prototype getEffectiveDescriptor()
          Get the effective method descriptor, which includes, if necessary, a first this parameter.
 
Methods inherited from class com.android.dx.cf.iface.StdMember
getAccessFlags, getAttributes, getDefiningClass, getDescriptor, getName, getNat, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.android.dx.cf.iface.Member
getAccessFlags, getAttributes, getDefiningClass, getDescriptor, getName, getNat
 

Constructor Detail

StdMethod

public StdMethod(CstType definingClass,
                 int accessFlags,
                 CstNat nat,
                 AttributeList attributes)
Constructs an instance.

Parameters:
definingClass - non-null; the defining class
accessFlags - access flags
nat - non-null; member name and type (descriptor)
attributes - non-null; list of associated attributes
Method Detail

getEffectiveDescriptor

public Prototype getEffectiveDescriptor()
Get the effective method descriptor, which includes, if necessary, a first this parameter.

Specified by:
getEffectiveDescriptor in interface Method
Returns:
non-null; the effective method descriptor


Copyright © 2015. All rights reserved.