Interface MatchSuppressor
-
- All Known Implementing Classes:
NeverSuppress
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface MatchSuppressor
Represents a suppressor for matches.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
shouldSuppress(int startLineNo, int startColNo, int endLineNo, int endColNo)
Checks if the specified selection should be suppressed.
-
-
-
Method Detail
-
shouldSuppress
boolean shouldSuppress(int startLineNo, int startColNo, int endLineNo, int endColNo)
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.
-
-