Class BaseAttribute

java.lang.Object
com.android.dx.cf.attrib.BaseAttribute
All Implemented Interfaces:
Attribute
Direct Known Subclasses:
AttAnnotationDefault, AttBootstrapMethods, AttCode, AttConstantValue, AttDeprecated, AttEnclosingMethod, AttExceptions, AttInnerClasses, AttLineNumberTable, AttSignature, AttSourceDebugExtension, 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 Details

    • BaseAttribute

      public BaseAttribute(String name)
      Constructs an instance.
      Parameters:
      name - non-null; attribute name
  • Method Details

    • getName

      public String getName()
      Get the name of the attribute.
      Specified by:
      getName in interface Attribute
      Returns:
      non-null; the name