com.android.dx.cf.attrib
Class BaseAttribute

java.lang.Object
  extended by 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.


Constructor Summary
BaseAttribute(String name)
          Constructs an instance.
 
Method Summary
 String getName()
          Get the name of the attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.android.dx.cf.iface.Attribute
byteLength
 

Constructor Detail

BaseAttribute

public BaseAttribute(String name)
Constructs an instance.

Parameters:
name - non-null; attribute name
Method Detail

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.