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.javadoc Contains the Javadoc 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(java.lang.String scopeName)
Scope factory method.static Scope
Scope. valueOf(java.lang.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.javadoc
Methods in com.puppycrawl.tools.checkstyle.checks.javadoc with parameters of type Scope Modifier and Type Method Description void
JavadocMethodCheck. setExcludeScope(Scope excludeScope)
Set the excludeScope.void
JavadocStyleCheck. setExcludeScope(Scope excludeScope)
Set the excludeScope.void
JavadocTypeCheck. setExcludeScope(Scope excludeScope)
Set the excludeScope.void
JavadocVariableCheck. setExcludeScope(Scope excludeScope)
Set the excludeScope.void
JavadocMethodCheck. setScope(Scope scope)
Set the scope.void
JavadocStyleCheck. setScope(Scope scope)
Sets the scope to check.void
JavadocTypeCheck. setScope(Scope scope)
Sets the scope to check.void
JavadocVariableCheck. setScope(Scope scope)
Sets the scope to check. -
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. getScopeFromMods(DetailAST aMods)
Returns the Scope 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.
-