Package io.codemodder
Class LineNumbers
java.lang.Object
io.codemodder.LineNumbers
Utilities related to line numbers.
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
getLineNumberAt
(CharSequence str, int index) Get the line number you'd expect from an IDE at the given character offset.
-
Method Details
-
getLineNumberAt
Get the line number you'd expect from an IDE at the given character offset.
-