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 ScopeScope. getInstance(java.lang.String scopeName)Scope factory method.static ScopeScope. 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 booleanScope. 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 ScopeDeclarationOrderCheck.ScopeState. declarationAccessThe 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 ScopeJavadocStyleCheck. excludeScopeSpecify the visibility scope where Javadoc comments are not checked.private ScopeJavadocTypeCheck. excludeScopeSpecify the visibility scope where Javadoc comments are not checked.private ScopeJavadocVariableCheck. excludeScopeSpecify the visibility scope where Javadoc comments are not checked.private ScopeMissingJavadocMethodCheck. excludeScopeSpecify the visibility scope where Javadoc comments are not checked.private ScopeMissingJavadocTypeCheck. excludeScopeSpecify the visibility scope where Javadoc comments are not checked.private ScopeJavadocStyleCheck. scopeSpecify the visibility scope where Javadoc comments are checked.private ScopeJavadocTypeCheck. scopeSpecify the visibility scope where Javadoc comments are checked.private ScopeJavadocVariableCheck. scopeSpecify the visibility scope where Javadoc comments are checked.private ScopeMissingJavadocMethodCheck. scopeSpecify the visibility scope where Javadoc comments are checked.private ScopeMissingJavadocTypeCheck. scopeSpecify 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 voidJavadocStyleCheck. setExcludeScope(Scope excludeScope)Setter to specify the visibility scope where Javadoc comments are not checked.voidJavadocTypeCheck. setExcludeScope(Scope excludeScope)Setter to specify the visibility scope where Javadoc comments are not checked.voidJavadocVariableCheck. setExcludeScope(Scope excludeScope)Setter to specify the visibility scope where Javadoc comments are not checked.voidMissingJavadocMethodCheck. setExcludeScope(Scope excludeScope)Setter to specify the visibility scope where Javadoc comments are not checked.voidMissingJavadocTypeCheck. setExcludeScope(Scope excludeScope)Setter to specify the visibility scope where Javadoc comments are not checked.voidJavadocStyleCheck. setScope(Scope scope)Setter to specify the visibility scope where Javadoc comments are checked.voidJavadocTypeCheck. setScope(Scope scope)Setter to specify the visibility scope where Javadoc comments are checked.voidJavadocVariableCheck. setScope(Scope scope)Setter to specify the visibility scope where Javadoc comments are checked.voidMissingJavadocMethodCheck. setScope(Scope scope)Setter to specify the visibility scope where Javadoc comments are checked.voidMissingJavadocTypeCheck. setScope(Scope scope)Setter to specify the visibility scope where Javadoc comments are checked.private booleanMissingJavadocMethodCheck. 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 java.util.Map<Scope,java.lang.Integer>MethodCountCheck.MethodCounter. countsMaintains the counts.Methods in com.puppycrawl.tools.checkstyle.checks.sizes with parameters of type Scope Modifier and Type Method Description private voidMethodCountCheck.MethodCounter. increment(Scope scope)Increments to counter by one for the supplied scope.private intMethodCountCheck.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 ScopeScopeUtil. getDeclaredScopeFromMods(DetailAST aMods)Returns theScopeexplicitly specified by the modifier set.private static ScopeScopeUtil. getDefaultScope(DetailAST ast)Returns the defaultScopefor aDetailAST.static ScopeScopeUtil. getScope(DetailAST ast)Returns theScopefor a givenDetailAST.static ScopeScopeUtil. getScopeFromMods(DetailAST aMods)Returns theScopespecified by the modifier set.static ScopeScopeUtil. 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 booleanScopeUtil. isInScope(DetailAST ast, Scope scope)Checks whether ast node is in a specific scope.
-