FileDocCategorySizeDatePackage
BaseAttribute.javaAPI DocAndroid 5.1 API1287Thu Mar 12 22:18:30 GMT 2015com.android.dexgen.rop

BaseAttribute

public abstract class BaseAttribute extends Object implements 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;