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
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
ConstructorsConstructorDescriptionLineNumberTableAttribute
(int lineNumberTableLength, int[] startPcs, int[] lineNumbers) -
Method Summary
Modifier and TypeMethodDescriptionboolean
protected int
Gets the length.protected ClassFileEntry[]
Returns an empty array.protected int[]
Gets the array of indices for the start of line numbers.static void
setAttributeName
(CPUTF8 cpUTF8Value) toString()
protected void
Writes this body to the given output stream.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, resolve
Methods inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.ClassFileEntry
objectHashCode, write
-
Constructor Details
-
LineNumberTableAttribute
-
-
Method Details
-
setAttributeName
-
equals
-
getLength
Description copied from class:Attribute
Gets the length.- Specified by:
getLength
in classBCIRenumberedAttribute
- Returns:
- the length.
-
getNestedClassFileEntries
Description copied from class:ClassFileEntry
Returns an empty array.- Overrides:
getNestedClassFileEntries
in classAttribute
- Returns:
- an empty array.
-
getStartPCs
Description copied from class:BCIRenumberedAttribute
Gets the array of indices for the start of line numbers.- Specified by:
getStartPCs
in classBCIRenumberedAttribute
- Returns:
- the array of indices for the start of line numbers.
-
toString
- Specified by:
toString
in classBCIRenumberedAttribute
-
writeBody
Description copied from class:Attribute
Writes this body to the given output stream.- Specified by:
writeBody
in classBCIRenumberedAttribute
- Parameters:
dos
- the output stream.- Throws:
IOException
- if an I/O error occurs.
-