Uses of Enum Class
com.puppycrawl.tools.checkstyle.api.Scope
Packages that use 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
Methods in com.puppycrawl.tools.checkstyle.api that return ScopeModifier and TypeMethodDescriptionstatic ScopeScope.getInstance(String scopeName) Scope factory method.static ScopeReturns the enum constant of this class with the specified name.static Scope[]Scope.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.puppycrawl.tools.checkstyle.api with parameters of type Scope -
Uses of Scope in com.puppycrawl.tools.checkstyle.checks.coding
Fields in com.puppycrawl.tools.checkstyle.checks.coding declared as ScopeModifier and TypeFieldDescriptionprivate 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 ScopeModifier and TypeFieldDescriptionprivate ScopeJavadocStyleCheck.excludeScopeSpecify the visibility scope where Javadoc comments are not checked.private ScopeJavadocTypeCheck.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 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 ScopeModifier and TypeMethodDescriptionvoidJavadocStyleCheck.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.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.voidSetter to specify the visibility scope where Javadoc comments are checked.voidSetter to specify the visibility scope where Javadoc comments are checked.voidSetter to specify the visibility scope where Javadoc comments are checked.voidSetter 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 ScopeMethods in com.puppycrawl.tools.checkstyle.checks.sizes with parameters of type Scope -
Uses of Scope in com.puppycrawl.tools.checkstyle.utils
Methods in com.puppycrawl.tools.checkstyle.utils that return ScopeModifier and TypeMethodDescriptionstatic ScopeScopeUtil.getDeclaredScopeFromMods(DetailAST aMods) Returns theScopeexplicitly specified by the modifier set.private static ScopeScopeUtil.getDefaultScope(DetailAST ast) Returns the defaultScopefor aDetailAST.static ScopeReturns 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