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 TypeMethodDescriptionbooleanshouldSuppress(int startLineNo, int startColNo, int endLineNo, int endColNo) Checks if the specified selection should be suppressed.
-
Method Details
-
shouldSuppress
Checks if the specified selection should be suppressed.- Parameters:
startLineNo- the starting line numberstartColNo- the starting column numberendLineNo- the ending line numberendColNo- the ending column number- Returns:
- true if the positions intersects with a comment.
-