Package proguard.classfile.attribute
Class LineNumberInfo
- java.lang.Object
-
- proguard.classfile.attribute.LineNumberInfo
-
- Direct Known Subclasses:
ExtendedLineNumberInfo
,StructuredLineNumberInfo
public class LineNumberInfo extends java.lang.Object
Representation of a line number table entry.
-
-
Field Summary
Fields Modifier and Type Field Description static int
LINE_RANGE_NO_SOURCE
static int
SIMPLE_LINE_NUMBER_BLOCK_ID
int
u2lineNumber
int
u2startPC
-
Constructor Summary
Constructors Constructor Description LineNumberInfo()
Creates an uninitialized LineNumberInfo.LineNumberInfo(int u2startPC, int u2lineNumber)
Creates an initialized LineNumberInfo.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LineNumberInfoBlock
getBlock()
int
getBlockId()
java.util.List<LineOrigin>
getOrigin()
java.lang.String
getSource()
Returns a description of the source of the line, if known, or null otherwise.int
getSourceLineEnd()
int
getSourceLineStart()
java.lang.String
getSourceMethod()
-
-
-
Method Detail
-
getSource
public java.lang.String 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
public java.lang.String getSourceMethod()
-
getSourceLineStart
public int getSourceLineStart()
-
getSourceLineEnd
public int getSourceLineEnd()
-
getBlockId
public int getBlockId()
-
getOrigin
public java.util.List<LineOrigin> getOrigin()
-
getBlock
public LineNumberInfoBlock getBlock()
-
-