Class FixedPosition

java.lang.Object
com.google.errorprone.fixes.FixedPosition

public final class FixedPosition extends Object
A JCDiagnostic.DiagnosticPosition with a fixed position.
  • Constructor Details

    • FixedPosition

      public FixedPosition(Tree tree, int startPosition)
  • Method Details

    • getTree

      public com.sun.tools.javac.tree.JCTree getTree()
    • getStartPosition

      public int getStartPosition()
    • getPreferredPosition

      public int getPreferredPosition()
    • getEndPosition

      public int getEndPosition(com.sun.tools.javac.tree.EndPosTable endPosTable)