Package | Description |
---|---|
com.puppycrawl.tools.checkstyle.checks.imports |
Contains the Imports checks that are
bundled with the main distribution.
|
Modifier and Type | Method and Description |
---|---|
protected AccessResult |
AbstractImportRule.calculateResult(boolean matched)
Returns the appropriate
AccessResult based on whether there
was a match and if the rule is to allow access. |
AccessResult |
ImportControl.checkAccess(java.lang.String inPkg,
java.lang.String forImport)
Returns whether a package or class is allowed to be imported.
|
private AccessResult |
ImportControl.localCheckAccess(java.lang.String inPkg,
java.lang.String forImport)
Checks whether any of the rules for this node control access to
a specified package or class.
|
static AccessResult |
AccessResult.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AccessResult[] |
AccessResult.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
AccessResult |
ClassImportRule.verifyImport(java.lang.String forImport)
Verifies whether a class name is used.
|
abstract AccessResult |
AbstractImportRule.verifyImport(java.lang.String forImport)
Verifies whether a package name is used.
|
AccessResult |
PkgImportRule.verifyImport(java.lang.String forImport)
Verifies whether a package name is used.
|