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 |
ImportControl.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 |
---|
ImportControl(ImportControl parent,
java.lang.String subPkg,
boolean regex,
MismatchStrategy strategyOnMismatch)
Construct a child node.
|
ImportControl(java.lang.String pkgName,
boolean regex,
MismatchStrategy strategyOnMismatch)
Construct a root node.
|