FileDocCategorySizeDatePackage
StdMethod.javaAPI DocAndroid 1.5 API1951Wed May 06 22:41:02 BST 2009com.android.dx.cf.iface

StdMethod

public final class StdMethod extends StdMember implements Method
Standard implementation of {@link Method}, which directly stores all the associated data.

Fields Summary
private final com.android.dx.rop.type.Prototype
effectiveDescriptor
non-null; the effective method descriptor
Constructors Summary
public StdMethod(com.android.dx.rop.cst.CstType definingClass, int accessFlags, com.android.dx.rop.cst.CstNat nat, AttributeList attributes)
Constructs an instance.

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

        super(definingClass, accessFlags, nat, attributes);

        String descStr = getDescriptor().getString();
        effectiveDescriptor =
            Prototype.intern(descStr, definingClass.getClassType(),
                                    AccessFlags.isStatic(accessFlags),
                                    nat.isInstanceInit());
    
Methods Summary
public com.android.dx.rop.type.PrototypegetEffectiveDescriptor()
{@inheritDoc}

        return effectiveDescriptor;