Uses of Class
com.puppycrawl.tools.checkstyle.api.Scope
-
Packages that use Scope Package Description com.puppycrawl.tools.checkstyle.api Contains the core API to be used to implement checks.com.puppycrawl.tools.checkstyle.checks.coding Contains the Coding checks that are bundled with the main distribution.com.puppycrawl.tools.checkstyle.checks.javadoc Contains the Javadoc checks that are bundled with the main distribution.com.puppycrawl.tools.checkstyle.checks.sizes Contains the Size Violations checks that are bundled with the main distribution.com.puppycrawl.tools.checkstyle.utils Contains utils classes for checkstyle. -
-
Uses of Scope in com.puppycrawl.tools.checkstyle.api
Methods in com.puppycrawl.tools.checkstyle.api that return Scope Modifier and Type Method Description static Scope
Scope. getInstance(String scopeName)
Scope factory method.static Scope
Scope. valueOf(String name)
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.Methods in com.puppycrawl.tools.checkstyle.api with parameters of type Scope Modifier and Type Method Description boolean
Scope. isIn(Scope scope)
Checks if this scope is a subscope of another scope. -
Uses of Scope in com.puppycrawl.tools.checkstyle.checks.coding
Fields in com.puppycrawl.tools.checkstyle.checks.coding declared as Scope Modifier and Type Field Description private Scope
DeclarationOrderCheck.ScopeState. declarationAccess
The sub-state the check is in. -
Uses of Scope in com.puppycrawl.tools.checkstyle.checks.javadoc
Fields in com.puppycrawl.tools.checkstyle.checks.javadoc declared as Scope Modifier and Type Field Description private 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.Methods in com.puppycrawl.tools.checkstyle.checks.javadoc with parameters of type Scope Modifier and Type Method Description void
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
JavadocStyleCheck. setScope(Scope scope)
Setter to specify the visibility scope where Javadoc comments are checked.void
JavadocTypeCheck. setScope(Scope scope)
Setter to specify the visibility scope where Javadoc comments are checked.void
JavadocVariableCheck. setScope(Scope scope)
Setter to specify the visibility scope where Javadoc comments are checked.void
MissingJavadocMethodCheck. setScope(Scope scope)
Setter to specify the visibility scope where Javadoc comments are checked.void
MissingJavadocTypeCheck. setScope(Scope scope)
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
Fields in com.puppycrawl.tools.checkstyle.checks.sizes with type parameters of type Scope Modifier and Type Field Description private Map<Scope,Integer>
MethodCountCheck.MethodCounter. counts
Maintains the counts.Methods in com.puppycrawl.tools.checkstyle.checks.sizes with parameters of type Scope Modifier and Type Method Description private void
MethodCountCheck.MethodCounter. increment(Scope scope)
Increments to counter by one for the supplied scope.private int
MethodCountCheck.MethodCounter. value(Scope scope)
Gets the value of a scope counter. -
Uses of Scope in com.puppycrawl.tools.checkstyle.utils
Methods in com.puppycrawl.tools.checkstyle.utils that return Scope Modifier and Type Method Description static 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
ScopeUtil. getScope(DetailAST ast)
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".Methods in com.puppycrawl.tools.checkstyle.utils with parameters of type Scope Modifier and Type Method Description static boolean
ScopeUtil. isInScope(DetailAST ast, Scope scope)
Checks whether ast node is in a specific scope.
-