Uses of Enum
com.puppycrawl.tools.checkstyle.api.Scope
Package
Description
Contains the core API to be used to implement checks.
Contains the Coding checks that are
bundled with the main distribution.
Contains the Javadoc checks that are bundled with the main distribution.
Contains the Size Violations checks
that are bundled with the main distribution.
Contains utils classes for checkstyle.
-
Uses of Scope in com.puppycrawl.tools.checkstyle.api
Modifier and TypeMethodDescriptionstatic Scope
Scope.getInstance
(String scopeName) Scope factory method.static Scope
Returns the enum constant of this type with the specified name.static Scope[]
Scope.values()
Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of Scope in com.puppycrawl.tools.checkstyle.checks.coding
Modifier and TypeFieldDescriptionprivate Scope
DeclarationOrderCheck.ScopeState.declarationAccess
The sub-state the check is in. -
Uses of Scope in com.puppycrawl.tools.checkstyle.checks.javadoc
Modifier and TypeFieldDescriptionprivate Scope
JavadocStyleCheck.excludeScope
Specify the visibility scope where Javadoc comments are not checked.private Scope
JavadocTypeCheck.excludeScope
Specify the visibility scope where Javadoc comments are not checked.private Scope
JavadocVariableCheck.excludeScope
Specify the visibility scope where Javadoc comments are not checked.private Scope
MissingJavadocMethodCheck.excludeScope
Specify the visibility scope where Javadoc comments are not checked.private Scope
MissingJavadocTypeCheck.excludeScope
Specify the visibility scope where Javadoc comments are not checked.private Scope
JavadocStyleCheck.scope
Specify the visibility scope where Javadoc comments are checked.private Scope
JavadocTypeCheck.scope
Specify the visibility scope where Javadoc comments are checked.private Scope
JavadocVariableCheck.scope
Specify the visibility scope where Javadoc comments are checked.private Scope
MissingJavadocMethodCheck.scope
Specify the visibility scope where Javadoc comments are checked.private Scope
MissingJavadocTypeCheck.scope
Specify the visibility scope where Javadoc comments are checked.Modifier and TypeMethodDescriptionvoid
JavadocStyleCheck.setExcludeScope
(Scope excludeScope) Setter to specify the visibility scope where Javadoc comments are not checked.void
JavadocTypeCheck.setExcludeScope
(Scope excludeScope) Setter to specify the visibility scope where Javadoc comments are not checked.void
JavadocVariableCheck.setExcludeScope
(Scope excludeScope) Setter to specify the visibility scope where Javadoc comments are not checked.void
MissingJavadocMethodCheck.setExcludeScope
(Scope excludeScope) Setter to specify the visibility scope where Javadoc comments are not checked.void
MissingJavadocTypeCheck.setExcludeScope
(Scope excludeScope) Setter to specify the visibility scope where Javadoc comments are not checked.void
Setter to specify the visibility scope where Javadoc comments are checked.void
Setter to specify the visibility scope where Javadoc comments are checked.void
Setter to specify the visibility scope where Javadoc comments are checked.void
Setter to specify the visibility scope where Javadoc comments are checked.void
Setter to specify the visibility scope where Javadoc comments are checked.private boolean
MissingJavadocMethodCheck.shouldCheck
(DetailAST ast, Scope nodeScope) Whether we should check this node. -
Uses of Scope in com.puppycrawl.tools.checkstyle.checks.sizes
-
Uses of Scope in com.puppycrawl.tools.checkstyle.utils
Modifier and TypeMethodDescriptionstatic Scope
ScopeUtil.getDeclaredScopeFromMods
(DetailAST aMods) Returns theScope
explicitly specified by the modifier set.private static Scope
ScopeUtil.getDefaultScope
(DetailAST ast) Returns the defaultScope
for aDetailAST
.static Scope
Returns theScope
for a givenDetailAST
.static Scope
ScopeUtil.getScopeFromMods
(DetailAST aMods) Returns theScope
specified by the modifier set.static Scope
ScopeUtil.getSurroundingScope
(DetailAST node) Returns the scope of the surrounding "block".