Uses of Class
com.puppycrawl.tools.checkstyle.checks.imports.ImportControl
-
Packages that use ImportControl Package Description com.puppycrawl.tools.checkstyle.checks.imports Contains the Imports checks that are bundled with the main distribution. -
-
Uses of ImportControl in com.puppycrawl.tools.checkstyle.checks.imports
Fields in com.puppycrawl.tools.checkstyle.checks.imports declared as ImportControl Modifier and Type Field Description private ImportControl
ImportControlCheck. currentImportControl
The package controller for the current file.private ImportControl
ImportControl. parent
The parent.private ImportControl
ImportControlCheck. root
The root package controller.Fields in com.puppycrawl.tools.checkstyle.checks.imports with type parameters of type ImportControl Modifier and Type Field Description private java.util.List<ImportControl>
ImportControl. children
List of childrenImportControl
objects.private java.util.Deque<ImportControl>
ImportControlLoader. stack
Used to hold theImportControl
objects.Methods in com.puppycrawl.tools.checkstyle.checks.imports that return ImportControl Modifier and Type Method Description private ImportControl
ImportControlLoader. getRoot()
Returns root ImportControl.static ImportControl
ImportControlLoader. load(java.net.URI uri)
Loads the import control file from a file.private static ImportControl
ImportControlLoader. load(org.xml.sax.InputSource source, java.net.URI uri)
Loads the import control file from aInputSource
.ImportControl
ImportControl. locateFinest(java.lang.String forPkg)
Search down the tree to locate the finest match for a supplied package.Constructors in com.puppycrawl.tools.checkstyle.checks.imports with parameters of type ImportControl Constructor Description ImportControl(ImportControl parent, java.lang.String subPkg, boolean regex)
Construct a child node.ImportControl(ImportControl parent, java.lang.String subPkg, boolean regex, MismatchStrategy strategyOnMismatch)
Construct a child node.
-