Class IdentCheckFilter
java.lang.Object
com.puppycrawl.tools.checkstyle.api.AutomaticBean
com.puppycrawl.tools.checkstyle.api.AbstractViolationReporter
com.puppycrawl.tools.checkstyle.api.AbstractCheck
io.spring.javaformat.checkstyle.filter.CheckFilter
io.spring.javaformat.checkstyle.filter.IdentCheckFilter
- All Implemented Interfaces:
com.puppycrawl.tools.checkstyle.api.Configurable,com.puppycrawl.tools.checkstyle.api.Contextualizable
CheckFilter that can be used to skip "ident" tokens. Commonly used to filter
RequireThisCheck for logger references.- Author:
- Phillip Webb
-
Nested Class Summary
Nested classes/interfaces inherited from class com.puppycrawl.tools.checkstyle.api.AutomaticBean
com.puppycrawl.tools.checkstyle.api.AutomaticBean.OutputStreamOptions -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvisitToken(com.puppycrawl.tools.checkstyle.api.DetailAST ast) Methods inherited from class io.spring.javaformat.checkstyle.filter.CheckFilter
beginTree, finishLocalSetup, finishTree, getAcceptableTokens, getDefaultTokens, getRequiredTokens, getViolations, isCommentNodesRequired, leaveToken, setupChildMethods inherited from class com.puppycrawl.tools.checkstyle.api.AbstractCheck
clearViolations, destroy, getFileContents, getLine, getLineCodePoints, getLines, getTabWidth, getTokenNames, init, log, log, log, setFileContents, setTabWidth, setTokensMethods inherited from class com.puppycrawl.tools.checkstyle.api.AbstractViolationReporter
getCustomMessages, getId, getMessageBundle, getSeverity, getSeverityLevel, setId, setSeverityMethods inherited from class com.puppycrawl.tools.checkstyle.api.AutomaticBean
configure, contextualize, getConfiguration
-
Constructor Details
-
IdentCheckFilter
public IdentCheckFilter()
-
-
Method Details
-
visitToken
public void visitToken(com.puppycrawl.tools.checkstyle.api.DetailAST ast) - Overrides:
visitTokenin classCheckFilter
-
setNames
-