Uses of Enum Class
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 AccessResultAbstractImportRule.calculateResult(boolean matched) Returns the appropriateAccessResultbased 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 AccessResultAbstractImportControl.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 AccessResultReturns the enum constant of this class with the specified name.static AccessResult[]AccessResult.values()Returns an array containing the constants of this enum class, in the order they are declared.abstract AccessResultAbstractImportRule.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.