Package org.apache.commons.compress.harmony.unpack200.bytecode

# Class LineNumberTableAttribute

java.lang.Object
org.apache.commons.compress.harmony.unpack200.bytecode.ClassFileEntry
org.apache.commons.compress.harmony.unpack200.bytecode.Attribute
org.apache.commons.compress.harmony.unpack200.bytecode.BCIRenumberedAttribute
org.apache.commons.compress.harmony.unpack200.bytecode.LineNumberTableAttribute

public class LineNumberTableAttribute extends BCIRenumberedAttribute
Line number table

- ## Field Summary

  ### Fields inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.BCIRenumberedAttribute

  `renumbered`

  ### Fields inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.ClassFileEntry

  `NONE`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `LineNumberTableAttribute(int lineNumberTableLength, int[] startPcs, int[] lineNumbers)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `equals(Object obj)`
  `protected int`
  `getLength()`
  `protected ClassFileEntry[]`
  `getNestedClassFileEntries()`
  `protected int[]`
  `getStartPCs()`
  `protected void`
  `resolve(ClassConstantPool pool)`
  Allows the constant pool entries to resolve their nested entries.
  `static void`
  `setAttributeName(CPUTF8 cpUTF8Value)`
  `String`
  `toString()`
  `protected void`
  `writeBody(DataOutputStream dos)`

  ### Methods inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.BCIRenumberedAttribute

  `hasBCIRenumbering, renumber`

  ### Methods inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.Attribute

  `doWrite, getAttributeName, getLengthIncludingHeader, hashCode, isSourceFileAttribute`

  ### Methods inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.ClassFileEntry

  `objectHashCode, write`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### LineNumberTableAttribute

    public LineNumberTableAttribute(int lineNumberTableLength, int[] startPcs, int[] lineNumbers)

- ## Method Details

  - ### setAttributeName

    public static void setAttributeName(CPUTF8 cpUTF8Value)

  - ### equals

    public boolean equals(Object obj)
    Overrides:
      `equals` in class `Attribute`

  - ### getLength

    protected int getLength()
    Specified by:
      `getLength` in class `BCIRenumberedAttribute`

  - ### getNestedClassFileEntries

    protected ClassFileEntry[] getNestedClassFileEntries()
    Overrides:
      `getNestedClassFileEntries` in class `Attribute`

  - ### getStartPCs

    protected int[] getStartPCs()
    Specified by:
      `getStartPCs` in class `BCIRenumberedAttribute`

  - ### resolve

    protected void resolve(ClassConstantPool pool)
    Description copied from class: `ClassFileEntry`
    Allows the constant pool entries to resolve their nested entries.
    Overrides:
      `resolve` in class `Attribute`
    Parameters:
      `pool` - TODO

  - ### toString

    public String toString()
    Specified by:
      `toString` in class `BCIRenumberedAttribute`

  - ### writeBody

    protected void writeBody(DataOutputStream dos) throws IOException
    Specified by:
      `writeBody` in class `BCIRenumberedAttribute`
    Throws:
      `IOException`