Package | Description |
---|---|
com.puppycrawl.tools.checkstyle.checks.imports |
Contains the Imports checks that are
bundled with the main distribution.
|
Modifier and Type | Field and 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.
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<ImportControl> |
ImportControl.children
List of children
ImportControl objects. |
private java.util.Deque<ImportControl> |
ImportControlLoader.stack
Used to hold the
ImportControl objects. |
Modifier and Type | Method and Description |
---|---|
private ImportControl |
ImportControlLoader.getRoot()
Returns root ImportControl.
|
private static ImportControl |
ImportControlLoader.load(org.xml.sax.InputSource source,
java.net.URI uri)
Loads the import control file from a
InputSource . |
static ImportControl |
ImportControlLoader.load(java.net.URI uri)
Loads the import control file from a file.
|
ImportControl |
ImportControl.locateFinest(java.lang.String forPkg)
Search down the tree to locate the finest match for a supplied package.
|
Constructor and 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.
|