Contains the Imports checks that are bundled with the main distribution.
Class Summary Class Description AbstractImportControlRepresents a tree of import rules for controlling whether packages or classes are allowed to be used. AbstractImportRuleBase class for import rules. AvoidStarImportCheckChecks that there are no import statements that use the
AvoidStaticImportCheckChecks that there are no static import statements. ClassImportRuleRepresents whether a class is allowed to be imported or not. CustomImportOrderCheckChecks that the groups of import declarations appear in the order specified by the user. CustomImportOrderCheck.ImportDetailsContains import attributes as line number, import full path, import group. CustomImportOrderCheck.RuleMatchForImportContains matching attributes assisting in definition of "best matching" group for import. FileImportControlRepresents an import rules for a specific file. IllegalImportCheckChecks for imports from a set of illegal packages. ImportControlCheckControls what can be imported in each package and file. ImportControlLoaderResponsible for loading the contents of an import control configuration file. ImportOrderCheckChecks the ordering/grouping of imports. PkgImportControlRepresents a tree of import rules for a specific package. PkgImportRuleRepresents whether a package is allowed to be imported or not. RedundantImportCheckChecks for redundant import statements. UnusedImportsCheckChecks for unused import statements. UnusedImportsCheck.FrameHolds the names of referenced types and names of declared inner types.
Enum Summary Enum Description AccessResultRepresents the result of an access check. ImportOrderOptionRepresents the policy for checking import order statements. MismatchStrategyRepresents the strategy when none of the rules (allow/disallow tags) match inside subpackage and import-control tag of ImportControlCheck config.