com.android.dx.cf.attrib
Class AttLineNumberTable

java.lang.Object
  extended by com.android.dx.cf.attrib.BaseAttribute
      extended by com.android.dx.cf.attrib.AttLineNumberTable
All Implemented Interfaces:
Attribute

public final class AttLineNumberTable
extends BaseAttribute

Attribute class for standard LineNumberTable attributes.


Field Summary
static String ATTRIBUTE_NAME
          non-null; attribute name for attributes of this type
 
Constructor Summary
AttLineNumberTable(LineNumberList lineNumbers)
          Constructs an instance.
 
Method Summary
 int byteLength()
          Get the total length of the attribute in bytes, including the header.
 LineNumberList getLineNumbers()
          Gets the list of "line number" entries associated with this instance.
 
Methods inherited from class com.android.dx.cf.attrib.BaseAttribute
getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ATTRIBUTE_NAME

public static final String ATTRIBUTE_NAME
non-null; attribute name for attributes of this type

See Also:
Constant Field Values
Constructor Detail

AttLineNumberTable

public AttLineNumberTable(LineNumberList lineNumbers)
Constructs an instance.

Parameters:
lineNumbers - non-null; list of line number entries
Method Detail

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

getLineNumbers

public LineNumberList getLineNumbers()
Gets the list of "line number" entries associated with this instance.

Returns:
non-null; the list


Copyright © 2015. All rights reserved.