Interface CheckContext


public interface CheckContext
Context used to report issues.
  • Method Details

    • reportIssue

      void reportIssue(HasTextRange hasTextRange, String message)
      Report an issue.
      Parameters:
      hasTextRange - the tree node to which the issue is attached
      message - the message of the issue
    • reportIssue

      void reportIssue(TextRange textRange, String message)
      Report an issue.
      Parameters:
      textRange - the text range to which the issue is attached
      message - the message of the issue
    • reportIssue

      void reportIssue(HasTextRange hasTextRange, String message, List<SecondaryLocation> secondaryLocations)
      Report an issue.
      Parameters:
      hasTextRange - the tree node to which the issue is attached
      message - the message of the issue
      secondaryLocations - the list of secondary locations attached to the issue
    • reportIssue

      void reportIssue(TextRange textRange, String message, List<SecondaryLocation> secondaryLocations)
      Report an issue.
      Parameters:
      textRange - the text range to which the issue is attached
      message - the message of the issue
      secondaryLocations - the list of secondary locations attached to the issue