Class LineNumberTableAttribute
- java.lang.Object
-
- kala.compress.harmony.unpack200.bytecode.ClassFileEntry
-
- kala.compress.harmony.unpack200.bytecode.Attribute
-
- kala.compress.harmony.unpack200.bytecode.BCIRenumberedAttribute
-
- kala.compress.harmony.unpack200.bytecode.LineNumberTableAttribute
-
public class LineNumberTableAttribute extends BCIRenumberedAttribute
Line number table
-
-
Field Summary
Fields Modifier and Type Field Description private static CPUTF8attributeNameprivate int[]lineNumbersprivate intlineNumberTableLengthprivate int[]startPcs-
Fields inherited from class kala.compress.harmony.unpack200.bytecode.BCIRenumberedAttribute
renumbered
-
Fields inherited from class kala.compress.harmony.unpack200.bytecode.ClassFileEntry
NONE
-
-
Constructor Summary
Constructors Constructor Description LineNumberTableAttribute(int lineNumberTableLength, int[] startPcs, int[] lineNumbers)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)protected intgetLength()protected ClassFileEntry[]getNestedClassFileEntries()protected int[]getStartPCs()static voidsetAttributeName(CPUTF8 cpUTF8Value)java.lang.StringtoString()protected voidwriteBody(java.io.DataOutputStream dos)-
Methods inherited from class kala.compress.harmony.unpack200.bytecode.BCIRenumberedAttribute
hasBCIRenumbering, renumber
-
Methods inherited from class kala.compress.harmony.unpack200.bytecode.Attribute
doWrite, getAttributeName, getLengthIncludingHeader, hashCode, isSourceFileAttribute, resolve
-
Methods inherited from class kala.compress.harmony.unpack200.bytecode.ClassFileEntry
objectHashCode, write
-
-
-
-
Field Detail
-
attributeName
private static CPUTF8 attributeName
-
lineNumberTableLength
private final int lineNumberTableLength
-
startPcs
private final int[] startPcs
-
lineNumbers
private final int[] lineNumbers
-
-
Method Detail
-
setAttributeName
public static void setAttributeName(CPUTF8 cpUTF8Value)
-
getLength
protected int getLength()
- Specified by:
getLengthin classBCIRenumberedAttribute
-
getNestedClassFileEntries
protected ClassFileEntry[] getNestedClassFileEntries()
- Overrides:
getNestedClassFileEntriesin classAttribute
-
getStartPCs
protected int[] getStartPCs()
- Specified by:
getStartPCsin classBCIRenumberedAttribute
-
toString
public java.lang.String toString()
- Specified by:
toStringin classBCIRenumberedAttribute
-
writeBody
protected void writeBody(java.io.DataOutputStream dos) throws java.io.IOException- Specified by:
writeBodyin classBCIRenumberedAttribute- Throws:
java.io.IOException
-
-