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

StdMember

public abstract class StdMember extends Object implements Member
Standard implementation of {@link Member}, which directly stores all the associated data.

Fields Summary
private final com.android.dx.rop.cst.CstType
definingClass
non-null; the defining class
private final int
accessFlags
access flags
private final com.android.dx.rop.cst.CstNat
nat
non-null; member name and type
private final AttributeList
attributes
non-null; list of associated attributes
Constructors Summary
public StdMember(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

        if (definingClass == null) {
            throw new NullPointerException("definingClass == null");
        }

        if (nat == null) {
            throw new NullPointerException("nat == null");
        }

        if (attributes == null) {
            throw new NullPointerException("attributes == null");
        }

        this.definingClass = definingClass;
        this.accessFlags = accessFlags;
        this.nat = nat;
        this.attributes = attributes;
    
Methods Summary
public final intgetAccessFlags()
{@inheritDoc}

        return accessFlags;
    
public final AttributeListgetAttributes()
{@inheritDoc}

        return attributes;
    
public final com.android.dx.rop.cst.CstTypegetDefiningClass()
{@inheritDoc}

        return definingClass;
    
public final com.android.dx.rop.cst.CstUtf8getDescriptor()
{@inheritDoc}

        return nat.getDescriptor();
    
public final com.android.dx.rop.cst.CstUtf8getName()
{@inheritDoc}

        return nat.getName();
    
public final com.android.dx.rop.cst.CstNatgetNat()
{@inheritDoc}

        return nat;
    
public java.lang.StringtoString()
{@inheritDoc}

        StringBuffer sb = new StringBuffer(100);

        sb.append(getClass().getName());
        sb.append('{");
        sb.append(nat.toHuman());
        sb.append('}");

        return sb.toString();