FileDocCategorySizeDatePackage
AttLineNumberTable.javaAPI DocAndroid 5.1 API2033Thu Mar 12 22:18:30 GMT 2015com.android.dx.cf.attrib

AttLineNumberTable

public final class AttLineNumberTable extends BaseAttribute
Attribute class for standard {@code LineNumberTable} attributes.

Fields Summary
public static final String
ATTRIBUTE_NAME
{@code non-null;} attribute name for attributes of this type
private final com.android.dx.cf.code.LineNumberList
lineNumbers
{@code non-null;} list of line number entries
Constructors Summary
public AttLineNumberTable(com.android.dx.cf.code.LineNumberList lineNumbers)
Constructs an instance.

param
lineNumbers {@code non-null;} list of line number entries


                     
       
        super(ATTRIBUTE_NAME);

        try {
            if (lineNumbers.isMutable()) {
                throw new MutabilityException("lineNumbers.isMutable()");
            }
        } catch (NullPointerException ex) {
            // Translate the exception.
            throw new NullPointerException("lineNumbers == null");
        }

        this.lineNumbers = lineNumbers;
    
Methods Summary
public intbyteLength()
{@inheritDoc}

        return 8 + 4 * lineNumbers.size();
    
public com.android.dx.cf.code.LineNumberListgetLineNumbers()
Gets the list of "line number" entries associated with this instance.

return
{@code non-null;} the list

        return lineNumbers;