Class SpringImportOrderCheck
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.ImportOrderCheck
io.spring.javaformat.checkstyle.check.SpringImportOrderCheck
- All Implemented Interfaces:
com.puppycrawl.tools.checkstyle.api.Configurable,com.puppycrawl.tools.checkstyle.api.Contextualizable
public class SpringImportOrderCheck
extends com.puppycrawl.tools.checkstyle.checks.imports.ImportOrderCheck
Checks that the order of imports follow Spring conventions.
- Author:
- Vedran Pavic
-
Nested Class Summary
Nested classes/interfaces inherited from class com.puppycrawl.tools.checkstyle.api.AutomaticBean
com.puppycrawl.tools.checkstyle.api.AutomaticBean.OutputStreamOptions -
Field Summary
FieldsFields inherited from class com.puppycrawl.tools.checkstyle.checks.imports.ImportOrderCheck
MSG_ORDERING, MSG_SEPARATED_IN_GROUP, MSG_SEPARATION -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.puppycrawl.tools.checkstyle.checks.imports.ImportOrderCheck
beginTree, getAcceptableTokens, getDefaultTokens, getRequiredTokens, setCaseSensitive, setGroups, setOption, setOrdered, setSeparated, setSeparatedStaticGroups, setSortStaticImportsAlphabetically, setStaticGroups, setUseContainerOrderingForStatic, visitTokenMethods inherited from class com.puppycrawl.tools.checkstyle.api.AbstractCheck
clearViolations, destroy, finishTree, getFileContents, getLine, getLineCodePoints, getLines, getTabWidth, getTokenNames, getViolations, init, isCommentNodesRequired, leaveToken, log, log, log, setFileContents, setTabWidth, setTokensMethods inherited from class com.puppycrawl.tools.checkstyle.api.AbstractViolationReporter
finishLocalSetup, getCustomMessages, getId, getMessageBundle, getSeverity, getSeverityLevel, setId, setSeverityMethods inherited from class com.puppycrawl.tools.checkstyle.api.AutomaticBean
configure, contextualize, getConfiguration, setupChild
-
Field Details
-
DEFAULT_PROJECT_ROOT_PACKAGE
The default root package.- See Also:
-
-
Constructor Details
-
SpringImportOrderCheck
public SpringImportOrderCheck()
-
-
Method Details
-
setProjectRootPackage
-