FileDocCategorySizeDatePackage
AttInnerClasses.javaAPI DocAndroid 1.5 API1961Wed May 06 22:41:02 BST 2009com.android.dx.cf.attrib

AttInnerClasses

public final class AttInnerClasses extends BaseAttribute
Attribute class for standard InnerClasses attributes.

Fields Summary
public static final String
ATTRIBUTE_NAME
non-null; attribute name for attributes of this type
private final InnerClassList
innerClasses
non-null; list of inner class entries
Constructors Summary
public AttInnerClasses(InnerClassList innerClasses)
Constructs an instance.

param
innerClasses non-null; list of inner class entries


                     
       
        super(ATTRIBUTE_NAME);

        try {
            if (innerClasses.isMutable()) {
                throw new MutabilityException("innerClasses.isMutable()");
            }
        } catch (NullPointerException ex) {
            // Translate the exception.
            throw new NullPointerException("innerClasses == null");
        }

        this.innerClasses = innerClasses;
    
Methods Summary
public intbyteLength()
{@inheritDoc}

        return 8 + innerClasses.size() * 8;
    
public InnerClassListgetInnerClasses()
Gets the list of "inner class" entries associated with this instance.

return
non-null; the list

        return innerClasses;