com.android.dx.cf.attrib
Class BaseAttribute
java.lang.Object
com.android.dx.cf.attrib.BaseAttribute
- All Implemented Interfaces:
- Attribute
- Direct Known Subclasses:
- AttAnnotationDefault, AttCode, AttConstantValue, AttDeprecated, AttEnclosingMethod, AttExceptions, AttInnerClasses, AttLineNumberTable, AttSignature, AttSourceFile, AttSynthetic, BaseAnnotations, BaseLocalVariables, BaseParameterAnnotations, RawAttribute
public abstract class BaseAttribute
- extends Object
- implements Attribute
Base implementation of Attribute, which directly stores
the attribute name but leaves the rest up to subclasses.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseAttribute
public BaseAttribute(String name)
- Constructs an instance.
- Parameters:
name - non-null; attribute name
getName
public String getName()
- Get the name of the attribute.
- Specified by:
getName in interface Attribute
- Returns:
non-null; the name
Copyright © 2015. All rights reserved.