Package org.sonar.java.model
Class LineColumnConverter
java.lang.Object
org.sonar.java.model.LineColumnConverter
There is a different convention in the JDT for line and column numbers.
The difference is only when there are some line continuation characters in text blocks.
Eclipse does not count the line continuation as a new line.
So we cannot use the following methods to get the line and column number:
CompilationUnit.getColumnNumber(int position)
CompilationUnit.getLineNumber(int position)
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LineColumnConverter
-
-
Method Details
-
toPos
-