public class LineNumberPosition
extends java.lang.Object
| Constructor and Description |
|---|
LineNumberPosition(int originalLine,
int emittedLine,
int emittedColumn)
Creates a new line number position from a decompiler-emitted expression or
statement.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
computeMaxLineNumber(java.util.List<LineNumberPosition> lineNumPositions) |
int |
getEmittedColumn() |
int |
getEmittedLine() |
int |
getOriginalLine() |
java.lang.String |
toString() |
public LineNumberPosition(int originalLine,
int emittedLine,
int emittedColumn)
originalLine - the line number of the expression/statement in the original codeemittedLine - the line number of the expression/statement in the decompiler-emitted codeemittedColumn - the 1-indexed column number of the expression/statement in the decompiler-emitted codepublic int getOriginalLine()
public int getEmittedLine()
public int getEmittedColumn()
public static int computeMaxLineNumber(java.util.List<LineNumberPosition> lineNumPositions)
public java.lang.String toString()
toString in class java.lang.Object