Package com.puppycrawl.tools.checkstyle.checks.imports
Contains the Imports checks that are
bundled with the main distribution.
-
Class Summary Class Description AbstractImportRule Base class for import rules.AvoidStarImportCheck Check that finds import statements that use the * notation.AvoidStaticImportCheck Check that finds static imports.ClassImportRule Represents whether a class is allowed to be imported or not.CustomImportOrderCheck Checks that the groups of import declarations appear in the order specified by the user.CustomImportOrderCheck.ImportDetails Contains import attributes as line number, import full path, import group.CustomImportOrderCheck.RuleMatchForImport Contains matching attributes assisting in definition of "best matching" group for import.IllegalImportCheck Checks for imports from a set of illegal packages.ImportControl Represents a tree of import rules for controlling whether packages or classes are allowed to be used.ImportControlCheck Check that controls what packages can be imported in each package.ImportControlLoader Responsible for loading the contents of an import control configuration file.ImportOrderCheck groups imports: ensures that groups of imports come in a specific order (e.g., java.PkgImportRule Represents whether a package is allowed to be imported or not.RedundantImportCheck Checks for imports that are redundant.UnusedImportsCheck Checks for unused import statements. -
Enum Summary Enum Description AccessResult Represents the result of an access check.ImportOrderOption Represents the policy for checking import order statements.MismatchStrategy Represents the strategy for checking rules inside ImportControl.