Interface ErrorPronePosition

All Known Implementing Classes:
AdjustedPosition, FixedPosition, IndexedPosition

public interface ErrorPronePosition
A compatibility wrapper around JCDiagnostic.DiagnosticPosition.
  • Method Details

    • from

      static ErrorPronePosition from(Tree node)
    • from

      static ErrorPronePosition from(com.sun.tools.javac.tree.JCTree node)
    • from

      static ErrorPronePosition from(com.sun.tools.javac.util.JCDiagnostic.DiagnosticPosition pos)
    • getStartPosition

      int getStartPosition()
    • getPreferredPosition

      int getPreferredPosition()
    • getTree

      com.sun.tools.javac.tree.JCTree getTree()
    • getEndPosition

      int getEndPosition(ErrorProneEndPosTable endPosTable)
    • getEndPosition

      int getEndPosition(com.sun.tools.javac.tree.EndPosTable arg0)