FileDocCategorySizeDatePackage
BaseAttribute.javaAPI DocAndroid 5.1 API1331Thu Mar 12 22:18:30 GMT 2015com.android.dx.cf.attrib

BaseAttribute

public abstract class BaseAttribute extends Object implements com.android.dx.cf.iface.Attribute
Base implementation of {@link Attribute}, which directly stores the attribute name but leaves the rest up to subclasses.

Fields Summary
private final String
name
{@code non-null;} attribute name
Constructors Summary
public BaseAttribute(String name)
Constructs an instance.

param
name {@code non-null;} attribute name

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

        this.name = name;
    
Methods Summary
public java.lang.StringgetName()
{@inheritDoc}

        return name;