Uses of Enum
com.puppycrawl.tools.checkstyle.checks.imports.AccessResult
Packages that use AccessResult
Package
Description
Contains the Imports checks that are
bundled with the main distribution.
-
Uses of AccessResult in com.puppycrawl.tools.checkstyle.checks.imports
Methods in com.puppycrawl.tools.checkstyle.checks.imports that return AccessResultModifier and TypeMethodDescriptionprotected AccessResult
AbstractImportRule.calculateResult
(boolean matched) Returns the appropriateAccessResult
based on whether there was a match and if the rule is to allow access.AbstractImportControl.checkAccess
(String inPkg, String inFileName, String forImport) Returns whether a package or class is allowed to be imported.private AccessResult
AbstractImportControl.localCheckAccess
(String inPkg, String inFileName, String forImport) Checks whether any of the rules for this node control access to a specified package or file.static AccessResult
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.abstract AccessResult
AbstractImportRule.verifyImport
(String forImport) Verifies whether a package name is used.ClassImportRule.verifyImport
(String forImport) Verifies whether a class name is used.PkgImportRule.verifyImport
(String forImport) Verifies whether a package name is used.