| Package | Description |
|---|---|
| com.puppycrawl.tools.checkstyle.checks.imports |
Contains the Imports checks that are
bundled with the main distribution.
|
| Modifier and Type | Class and 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.
|
| Modifier and Type | Field and Description |
|---|---|
private AbstractImportControl |
ImportControlCheck.currentImportControl
The package controller for the current file.
|
private AbstractImportControl |
AbstractImportControl.parent
The parent.
|
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<AbstractImportControl> |
PkgImportControl.children
List of children
AbstractImportControl objects. |
private java.util.Deque<AbstractImportControl> |
ImportControlLoader.stack
Used to hold the
AbstractImportControl objects. |
| Modifier and Type | Method and Description |
|---|---|
AbstractImportControl |
FileImportControl.locateFinest(java.lang.String forPkg,
java.lang.String forFileName) |
AbstractImportControl |
PkgImportControl.locateFinest(java.lang.String forPkg,
java.lang.String forFileName) |
abstract AbstractImportControl |
AbstractImportControl.locateFinest(java.lang.String forPkg,
java.lang.String forFileName)
Search down the tree to locate the finest match for a supplied package.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PkgImportControl.addChild(AbstractImportControl importControl)
Adds new child import control.
|
| Constructor and Description |
|---|
AbstractImportControl(AbstractImportControl parent,
MismatchStrategy strategyOnMismatch)
Construct a child node.
|
Copyright © 2001-2022. All Rights Reserved.