Package | Description |
---|---|
com.puppycrawl.tools.checkstyle.api |
Contains the core API to be used to implement checks.
|
Modifier and Type | Field and Description |
---|---|
static Scope |
Scope.ANONINNER
anon inner scope.
|
static Scope |
Scope.ANONINNER
anon inner scope.
|
static Scope |
Scope.NOTHING
nothing scope.
|
static Scope |
Scope.NOTHING
nothing scope.
|
static Scope |
Scope.PACKAGE
package scope.
|
static Scope |
Scope.PACKAGE
package scope.
|
static Scope |
Scope.PRIVATE
private scope.
|
static Scope |
Scope.PRIVATE
private scope.
|
static Scope |
Scope.PROTECTED
protected scope.
|
static Scope |
Scope.PROTECTED
protected scope.
|
static Scope |
Scope.PUBLIC
public scope.
|
static Scope |
Scope.PUBLIC
public scope.
|
Modifier and Type | Method and Description |
---|---|
static Scope |
Scope.getInstance(String aScopeName)
Scope factory method.
|
static Scope |
Scope.getInstance(String aScopeName)
Scope factory method.
|
static Scope |
ScopeUtils.getScopeFromMods(DetailAST aMods)
Returns the Scope specified by the modifier set.
|
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 |
ScopeUtils.getSurroundingScope(DetailAST aAST)
Returns the scope of the surrounding "block".
|
Modifier and Type | Method and Description |
---|---|
boolean |
Scope.isIn(Scope aScope)
Checks if this scope is a subscope of another scope.
|
boolean |
Scope.isIn(Scope aScope)
Checks if this scope is a subscope of another scope.
|