Uses of Class
com.puppycrawl.tools.checkstyle.checks.imports.AbstractImportControl
Packages that use AbstractImportControl
Package
Description
Contains the Imports checks that are
bundled with the main distribution.
-
Uses of AbstractImportControl in com.puppycrawl.tools.checkstyle.checks.imports
Subclasses of AbstractImportControl in com.puppycrawl.tools.checkstyle.checks.importsModifier 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.Fields in com.puppycrawl.tools.checkstyle.checks.imports declared as AbstractImportControlModifier and TypeFieldDescriptionprivate AbstractImportControl
ImportControlCheck.currentImportControl
The package controller for the current file.private final AbstractImportControl
AbstractImportControl.parent
The parent.Fields in com.puppycrawl.tools.checkstyle.checks.imports with type parameters of type AbstractImportControlModifier and TypeFieldDescriptionprivate final List<AbstractImportControl>
PkgImportControl.children
List of childrenAbstractImportControl
objects.private final Deque<AbstractImportControl>
ImportControlLoader.stack
Used to hold theAbstractImportControl
objects.Methods in com.puppycrawl.tools.checkstyle.checks.imports that return AbstractImportControlModifier 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) Methods in com.puppycrawl.tools.checkstyle.checks.imports with parameters of type AbstractImportControlModifier and TypeMethodDescriptionvoid
PkgImportControl.addChild
(AbstractImportControl importControl) Adds new child import control.Constructors in com.puppycrawl.tools.checkstyle.checks.imports with parameters of type AbstractImportControlModifierConstructorDescriptionprotected
AbstractImportControl
(AbstractImportControl parent, MismatchStrategy strategyOnMismatch) Construct a child node.