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
renumberedFields 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 TypeMethodDescriptionbooleanprotected intGets the length.protected ClassFileEntry[]Returns an empty array.protected int[]Gets the array of indices for the start of line numbers.static voidsetAttributeName(CPUTF8 cpUTF8Value) toString()protected voidWrites this body to the given output stream.Methods inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.BCIRenumberedAttribute
hasBCIRenumbering, renumberMethods inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.Attribute
doWrite, getAttributeName, getLengthIncludingHeader, hashCode, isSourceFileAttribute, resolveMethods 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:AttributeGets the length.- Specified by:
getLengthin classBCIRenumberedAttribute- Returns:
- the length.
-
getNestedClassFileEntries
Description copied from class:ClassFileEntryReturns an empty array.- Overrides:
getNestedClassFileEntriesin classAttribute- Returns:
- an empty array.
-
getStartPCs
Description copied from class:BCIRenumberedAttributeGets the array of indices for the start of line numbers.- Specified by:
getStartPCsin classBCIRenumberedAttribute- Returns:
- the array of indices for the start of line numbers.
-
toString
- Specified by:
toStringin classBCIRenumberedAttribute
-
writeBody
Description copied from class:AttributeWrites this body to the given output stream.- Specified by:
writeBodyin classBCIRenumberedAttribute- Parameters:
dos- the output stream.- Throws:
IOException- if an I/O error occurs.
-