|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.puppycrawl.tools.checkstyle.api.Scope
Represents a Java visibility scope.
| Field Summary | |
static Scope |
ANONINNER
anon inner scope. |
static Scope |
NOTHING
nothing scope. |
static Scope |
PACKAGE
package scope. |
static Scope |
PRIVATE
private scope. |
static Scope |
PROTECTED
protected scope. |
static Scope |
PUBLIC
public scope. |
| Method Summary | |
int |
compareTo(java.lang.Object aObject)
|
static Scope |
getInstance(java.lang.String aScopeName)
Scope factory method. |
java.lang.String |
getName()
|
boolean |
isIn(Scope aScope)
Checks if this scope is a subscope of another scope. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final Scope NOTHING
public static final Scope PUBLIC
public static final Scope PROTECTED
public static final Scope PACKAGE
public static final Scope PRIVATE
public static final Scope ANONINNER
| Method Detail |
public java.lang.String toString()
Objectpublic java.lang.String getName()
public int compareTo(java.lang.Object aObject)
compareTo in interface java.lang.ComparableComparablepublic boolean isIn(Scope aScope)
aScope - a Scope value
this is a subscope of aScope.public static Scope getInstance(java.lang.String aScopeName)
aScopeName - scope name, such as "nothing", "public", etc.
Scope associated with aScopeName
|
Back to the Checkstyle Home Page | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||