Class AttSourceDebugExtension

java.lang.Object
com.android.dx.cf.attrib.BaseAttribute
com.android.dx.cf.attrib.AttSourceDebugExtension
All Implemented Interfaces:
Attribute

public final class AttSourceDebugExtension extends BaseAttribute
Attribute class for standard SourceDebugExtension attributes.
  • Field Details

    • ATTRIBUTE_NAME

      public static final String ATTRIBUTE_NAME
      non-null; attribute name for attributes of this type
      See Also:
  • Constructor Details

    • AttSourceDebugExtension

      public AttSourceDebugExtension(CstString smapString)
      Constructs an instance.
      Parameters:
      smapString - non-null; the SMAP data from the class file.
  • Method Details

    • byteLength

      public int byteLength()
      Get the total length of the attribute in bytes, including the header. Since the header is always six bytes, the result of this method is always at least 6.
      Returns:
      >= 6; the total length, in bytes
    • getSmapString

      public CstString getSmapString()
      Gets the SMAP data of this instance.
      Returns:
      non-null; the SMAP data.