Class IdentCheckFilter

  • All Implemented Interfaces:
    com.puppycrawl.tools.checkstyle.api.Configurable, com.puppycrawl.tools.checkstyle.api.Contextualizable

    public class IdentCheckFilter
    extends CheckFilter
    CheckFilter that can be used to skip "ident" tokens. Commonly used to filter RequireThisCheck for logger references.
    Author:
    Phillip Webb
    • Constructor Detail

      • IdentCheckFilter

        public IdentCheckFilter()
    • Method Detail

      • visitToken

        public void visitToken​(com.puppycrawl.tools.checkstyle.api.DetailAST ast)
        Overrides:
        visitToken in class CheckFilter
      • setNames

        public void setNames​(String... names)