Uses of Class
com.puppycrawl.tools.checkstyle.checks.imports.AbstractImportControl
Package
Description
Contains the Imports checks that are
bundled with the main distribution.
-
Uses of AbstractImportControl in com.puppycrawl.tools.checkstyle.checks.imports
Modifier and TypeClassDescription(package private) class
Represents an import rules for a specific file.(package private) class
Represents a tree of import rules for a specific package.Modifier and TypeFieldDescriptionprivate AbstractImportControl
ImportControlCheck.currentImportControl
The package controller for the current file.private final AbstractImportControl
AbstractImportControl.parent
The parent.Modifier and TypeFieldDescriptionprivate final List<AbstractImportControl>
PkgImportControl.children
List of childrenAbstractImportControl
objects.private final Deque<AbstractImportControl>
ImportControlLoader.stack
Used to hold theAbstractImportControl
objects.Modifier and TypeMethodDescriptionabstract AbstractImportControl
AbstractImportControl.locateFinest
(String forPkg, String forFileName) Search down the tree to locate the finest match for a supplied package.FileImportControl.locateFinest
(String forPkg, String forFileName) PkgImportControl.locateFinest
(String forPkg, String forFileName) Modifier and TypeMethodDescriptionvoid
PkgImportControl.addChild
(AbstractImportControl importControl) Adds new child import control.ModifierConstructorDescriptionprotected
AbstractImportControl
(AbstractImportControl parent, MismatchStrategy strategyOnMismatch) Construct a child node.