Class StdMethod

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

public final class StdMethod extends StdMember implements Method
Standard implementation of Method, which directly stores all the associated data.
  • Constructor Details

    • 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 Details

    • 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