Class SpringAvoidStaticImportCheck

java.lang.Object
com.puppycrawl.tools.checkstyle.api.AutomaticBean
com.puppycrawl.tools.checkstyle.api.AbstractViolationReporter
com.puppycrawl.tools.checkstyle.api.AbstractCheck
com.puppycrawl.tools.checkstyle.checks.imports.AvoidStaticImportCheck
io.spring.javaformat.checkstyle.check.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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    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, clearViolations, destroy, finishTree, getFileContents, getLine, getLineCodePoints, getLines, getTabWidth, getTokenNames, getViolations, 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SpringAvoidStaticImportCheck

      public SpringAvoidStaticImportCheck()
  • Method Details

    • setExcludes

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