Class SuppressWithPlainTextCommentFilter.Suppression

  • Enclosing class:
    SuppressWithPlainTextCommentFilter

    public static class SuppressWithPlainTextCommentFilter.Suppression
    extends java.lang.Object
    The class which represents the suppression.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Suppression​(java.lang.String text, int lineNo, int columnNo, com.puppycrawl.tools.checkstyle.filters.SuppressWithPlainTextCommentFilter.SuppressionType suppressionType, SuppressWithPlainTextCommentFilter filter)
      Creates new suppression instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object other)  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Suppression

        protected Suppression​(java.lang.String text,
                              int lineNo,
                              int columnNo,
                              com.puppycrawl.tools.checkstyle.filters.SuppressWithPlainTextCommentFilter.SuppressionType suppressionType,
                              SuppressWithPlainTextCommentFilter filter)
        Creates new suppression instance.
        Parameters:
        text - suppression text.
        lineNo - suppression line number.
        columnNo - suppression column number.
        suppressionType - suppression type.
        filter - the SuppressWithPlainTextCommentFilter with the context.
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object