Package proguard.classfile.attribute
Class LineNumberInfo
java.lang.Object
proguard.classfile.attribute.LineNumberInfo
- Direct Known Subclasses:
ExtendedLineNumberInfo,StructuredLineNumberInfo
Representation of a line number table entry.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic intstatic intintint -
Constructor Summary
ConstructorsConstructorDescriptionCreates an uninitialized LineNumberInfo.LineNumberInfo(int u2startPC, int u2lineNumber) Creates an initialized LineNumberInfo. -
Method Summary
Modifier and TypeMethodDescriptiongetBlock()intReturns a description of the source of the line, if known, or null otherwise.intint
-
Field Details
-
SIMPLE_LINE_NUMBER_BLOCK_ID
public static int SIMPLE_LINE_NUMBER_BLOCK_ID -
LINE_RANGE_NO_SOURCE
public static int LINE_RANGE_NO_SOURCE -
u2startPC
public int u2startPC -
u2lineNumber
public int u2lineNumber
-
-
Constructor Details
-
LineNumberInfo
public LineNumberInfo()Creates an uninitialized LineNumberInfo. -
LineNumberInfo
public LineNumberInfo(int u2startPC, int u2lineNumber) Creates an initialized LineNumberInfo.
-
-
Method Details
-
getSource
Returns a description of the source of the line, if known, or null otherwise. Standard line number entries don't contain information about their source; it is assumed to be the same source file. -
getSourceMethod
-
getSourceLineStart
public int getSourceLineStart() -
getSourceLineEnd
public int getSourceLineEnd() -
getBlockId
public int getBlockId() -
getOrigin
-
getBlock
-