FileDocCategorySizeDatePackage
ClassRef.javaAPI DocAndroid 5.1 API1801Thu Mar 12 22:18:30 GMT 2015com.android.dexdeps

ClassRef

public class ClassRef extends Object

Fields Summary
private String
mClassName
private ArrayList
mFieldRefs
private ArrayList
mMethodRefs
Constructors Summary
public ClassRef(String className)
Initializes a new class reference.

        mClassName = className;
        mFieldRefs = new ArrayList<FieldRef>();
        mMethodRefs = new ArrayList<MethodRef>();
    
Methods Summary
public voidaddField(FieldRef fref)
Adds the field to the field list.

        mFieldRefs.add(fref);
    
public voidaddMethod(MethodRef mref)
Adds the method to the method list.

        mMethodRefs.add(mref);
    
public FieldRef[]getFieldArray()
Returns the field list as an array.

        return mFieldRefs.toArray(new FieldRef[mFieldRefs.size()]);
    
public MethodRef[]getMethodArray()
Returns the method list as an array.

        return mMethodRefs.toArray(new MethodRef[mMethodRefs.size()]);
    
public java.lang.StringgetName()
Gets the class name.

        return mClassName;