@FormatMethod
  private void reportError(ParseTree parseTree, @FormatString String message, Object... arguments) {
    if (parseTree == null) {
      reportError(message, arguments);
    } else {
      errorReporter.reportError(parseTree.location.start, message, arguments);
    }
  }
@ FormatMethod private void reportError ( ParseTree parseTree , @ FormatString String message , Object ... arguments ) { if ( parseTree == null ) { reportError ( message , arguments ) ; } else { errorReporter . reportError ( parseTree . location . start , message , arguments ) ; } }
Reports an error message at a given parse tree's location.

@param parseTree The location to report the message at.
@param message The message to report in String.format style.
@param arguments The arguments to fill in the message format.