Class SourceChecker.CheckerMessage

java.lang.Object
org.checkerframework.framework.source.SourceChecker.CheckerMessage
All Implemented Interfaces:
Comparable<SourceChecker.CheckerMessage>
Enclosing class:
SourceChecker

protected static class SourceChecker.CheckerMessage extends Object implements Comparable<SourceChecker.CheckerMessage>
Represents a message (e.g., an error message) issued by a checker.
  • Constructor Details

    • CheckerMessage

      protected CheckerMessage(Diagnostic.Kind kind, String message, @FindDistinct Tree source, @FindDistinct SourceChecker checker, StackTraceElement[] trace)
      Create a new CheckerMessage.
      Parameters:
      kind - kind of diagnostic, for example, error or warning
      message - error message that needs to be printed
      source - tree node causing the error
      checker - the type-checker in use
      trace - the stack trace when the message is created
  • Method Details