| 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 MismatchStrategy |
AbstractImportControl.strategyOnMismatch
Strategy in a case if matching allow/disallow rule was not found.
|
| Modifier and Type | Method and Description |
|---|---|
private static MismatchStrategy |
ImportControlLoader.getStrategyForImportControl(org.xml.sax.Attributes attributes)
Utility to get a strategyOnMismatch property for "import-control" tag.
|
private static MismatchStrategy |
ImportControlLoader.getStrategyForSubpackage(org.xml.sax.Attributes attributes)
Utility to get a strategyOnMismatch property for "subpackage" tag.
|
static MismatchStrategy |
MismatchStrategy.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MismatchStrategy[] |
MismatchStrategy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
AbstractImportControl(AbstractImportControl parent,
MismatchStrategy strategyOnMismatch)
Construct a child node.
|
PkgImportControl(PkgImportControl parent,
java.lang.String subPackageName,
boolean regex,
MismatchStrategy strategyOnMismatch)
Construct a sub-package node.
|
PkgImportControl(java.lang.String packageName,
boolean regex,
MismatchStrategy strategyOnMismatch)
Construct a root, package node.
|
Copyright © 2001-2022. All Rights Reserved.