Class SuppressWithNearbyCommentFilter.Tag

java.lang.Object
com.puppycrawl.tools.checkstyle.filters.SuppressWithNearbyCommentFilter.Tag
Enclosing class:
SuppressWithNearbyCommentFilter

private static final class SuppressWithNearbyCommentFilter.Tag extends Object
A Tag holds a suppression comment and its location.
  • Field Details

    • text

      private final String text
      The text of the tag.
    • firstLine

      private final int firstLine
      The first line where warnings may be suppressed.
    • lastLine

      private final int lastLine
      The last line where warnings may be suppressed.
    • tagCheckRegexp

      private final Pattern tagCheckRegexp
      The parsed check regexp, expanded for the text of this tag.
    • tagMessageRegexp

      private final Pattern tagMessageRegexp
      The parsed message regexp, expanded for the text of this tag.
    • tagIdRegexp

      private final Pattern tagIdRegexp
      The parsed check ID regexp, expanded for the text of this tag.
  • Constructor Details

  • Method Details