Class SpringAvoidStaticImportCheck

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

    public class SpringAvoidStaticImportCheck
    extends com.puppycrawl.tools.checkstyle.checks.imports.AvoidStaticImportCheck
    Spring variant of AvoidStarImportCheck.
    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
    • Field Summary

      • Fields inherited from class com.puppycrawl.tools.checkstyle.checks.imports.AvoidStaticImportCheck

        MSG_KEY
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setExcludes​(String... excludes)  
      • Methods inherited from class com.puppycrawl.tools.checkstyle.checks.imports.AvoidStaticImportCheck

        getAcceptableTokens, getDefaultTokens, getRequiredTokens, visitToken
      • Methods inherited from class com.puppycrawl.tools.checkstyle.api.AbstractCheck

        beginTree, clearMessages, destroy, finishTree, getFileContents, getLine, getLines, getMessages, getTabWidth, getTokenNames, init, isCommentNodesRequired, leaveToken, log, log, log, setFileContents, setTabWidth, setTokens
      • Methods inherited from class com.puppycrawl.tools.checkstyle.api.AbstractViolationReporter

        finishLocalSetup, getCustomMessages, getId, getMessageBundle, getSeverity, getSeverityLevel, setId, setSeverity
      • Methods inherited from class com.puppycrawl.tools.checkstyle.api.AutomaticBean

        configure, contextualize, getConfiguration, setupChild
    • Constructor Detail

      • SpringAvoidStaticImportCheck

        public SpringAvoidStaticImportCheck()
    • Method Detail

      • setExcludes

        public void setExcludes​(String... excludes)
        Overrides:
        setExcludes in class com.puppycrawl.tools.checkstyle.checks.imports.AvoidStaticImportCheck