Class NeverSuppress

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean shouldSuppress​(int startLineNo, int startColNo, int endLineNo, int endColNo)
      Checks if the specified selection should be suppressed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • INSTANCE

        public static final MatchSuppressor INSTANCE
        The shared instance.
    • Method Detail

      • shouldSuppress

        public boolean shouldSuppress​(int startLineNo,
                                      int startColNo,
                                      int endLineNo,
                                      int endColNo)
        Description copied from interface: MatchSuppressor
        Checks if the specified selection should be suppressed.
        Specified by:
        shouldSuppress in interface MatchSuppressor
        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.