Uses of Class
com.puppycrawl.tools.checkstyle.checks.imports.AbstractImportControl
-
Packages that use AbstractImportControl Package Description com.puppycrawl.tools.checkstyle.checks.imports 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.imports Modifier and Type Class Description (package private) class
FileImportControl
Represents an import rules for a specific file.(package private) class
PkgImportControl
Represents a tree of import rules for a specific package.Fields in com.puppycrawl.tools.checkstyle.checks.imports declared as AbstractImportControl Modifier and Type Field Description private AbstractImportControl
ImportControlCheck. currentImportControl
The package controller for the current file.private AbstractImportControl
AbstractImportControl. parent
The parent.Fields in com.puppycrawl.tools.checkstyle.checks.imports with type parameters of type AbstractImportControl Modifier and Type Field Description private List<AbstractImportControl>
PkgImportControl. children
List of childrenAbstractImportControl
objects.private Deque<AbstractImportControl>
ImportControlLoader. stack
Used to hold theAbstractImportControl
objects.Methods in com.puppycrawl.tools.checkstyle.checks.imports that return AbstractImportControl Modifier and Type Method Description abstract AbstractImportControl
AbstractImportControl. locateFinest(String forPkg, String forFileName)
Search down the tree to locate the finest match for a supplied package.AbstractImportControl
FileImportControl. locateFinest(String forPkg, String forFileName)
AbstractImportControl
PkgImportControl. locateFinest(String forPkg, String forFileName)
Methods in com.puppycrawl.tools.checkstyle.checks.imports with parameters of type AbstractImportControl Modifier and Type Method Description void
PkgImportControl. addChild(AbstractImportControl importControl)
Adds new child import control.Constructors in com.puppycrawl.tools.checkstyle.checks.imports with parameters of type AbstractImportControl Constructor Description AbstractImportControl(AbstractImportControl parent, MismatchStrategy strategyOnMismatch)
Construct a child node.
-