Package | Description |
---|---|
com.puppycrawl.tools.checkstyle.api |
Contains the core API to be used to implement checks.
|
Modifier and Type | Method and Description |
---|---|
static Scope |
Scope.getInstance(String scopeName)
Scope factory method.
|
static Scope |
ScopeUtils.getScopeFromMods(DetailAST aMods)
Returns the Scope specified by the modifier set.
|
static Scope |
ScopeUtils.getSurroundingScope(DetailAST aAST)
Returns the scope of the surrounding "block".
|
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Scope.isIn(Scope scope)
Checks if this scope is a subscope of another scope.
|
Copyright © 2001–2015. All rights reserved.