Package com.puppycrawl.tools.checkstyle.checks.imports
Contains the Imports checks that are
bundled with the main distribution.
-
Class Summary Class Description AbstractImportControl Represents a tree of import rules for controlling whether packages or classes are allowed to be used.AbstractImportRule Base class for import rules.AvoidStarImportCheck Checks that there are no import statements that use the*
notation.AvoidStaticImportCheck Checks that there are no static import statements.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.FileImportControl Represents an import rules for a specific file.IllegalImportCheck Checks for imports from a set of illegal packages.ImportControlCheck Controls what can be imported in each package and file.ImportControlLoader Responsible for loading the contents of an import control configuration file.ImportOrderCheck Checks the ordering/grouping of imports.PkgImportControl Represents a tree of import rules for a specific package.PkgImportRule Represents whether a package is allowed to be imported or not.RedundantImportCheck Checks for redundant import statements.UnusedImportsCheck Checks for unused import statements.UnusedImportsCheck.Frame Holds the names of referenced types and names of declared inner types. -
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 when none of the rules (allow/disallow tags) match inside subpackage and import-control tag of ImportControlCheck config.