Interface ErrorPronePosition
- All Known Implementing Classes:
AdjustedPosition, FixedPosition, IndexedPosition
public interface ErrorPronePosition
A compatibility wrapper around
JCDiagnostic.DiagnosticPosition.-
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorPronePositionstatic ErrorPronePositionfrom(com.sun.tools.javac.tree.JCTree node) static ErrorPronePositionfrom(com.sun.tools.javac.util.JCDiagnostic.DiagnosticPosition pos) intgetEndPosition(ErrorProneEndPosTable endPosTable) intgetEndPosition(com.sun.tools.javac.tree.EndPosTable arg0) intintcom.sun.tools.javac.tree.JCTreegetTree()
-
Method Details
-
from
-
from
-
from
-
getStartPosition
int getStartPosition() -
getPreferredPosition
int getPreferredPosition() -
getTree
com.sun.tools.javac.tree.JCTree getTree() -
getEndPosition
-
getEndPosition
int getEndPosition(com.sun.tools.javac.tree.EndPosTable arg0)
-