Interface MatchSuppressor

All Known Implementing Classes:
CommentSuppressor, NeverSuppress
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

Represents a suppressor for matches.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    shouldSuppress(int startLineNo, int startColNo, int endLineNo, int endColNo)
    Checks if the specified selection should be suppressed.
  • Method Details

    • shouldSuppress

      boolean shouldSuppress(int startLineNo, int startColNo, int endLineNo, int endColNo)
      Checks if the specified selection should be suppressed.
      Parameters:
      startLineNo - the starting line number
      startColNo - the starting column number
      endLineNo - the ending line number
      endColNo - the ending column number
      Returns:
      true if the positions intersects with a comment.