public class ScopeBean extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ScopeBean.Type
Scope types *
|
| Modifier and Type | Field and Description |
|---|---|
protected static String |
separator
Scope separators used in linear syntax.
|
| Modifier and Type | Method and Description |
|---|---|
ScopeBean |
enclosingScope()
Returns the enclosing scope, if any.
|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
is(ScopeBean.Type type)
Returns
true if the scope has a given ScopeBean.Type. |
String |
name()
Returns the name of the scope.
|
String |
toString()
Returns the linear expression of the scope.
|
ScopeBean.Type |
type()
Returns the
ScopeBean.Type of the scope. |
protected static String separator
public ScopeBean(String scope) throws IllegalArgumentException
IllegalArgumentExceptionpublic String name()
public boolean is(ScopeBean.Type type)
true if the scope has a given ScopeBean.Type.type - the typetrue if the scope has the given type, false otherwisepublic ScopeBean.Type type()
ScopeBean.Type of the scope.public ScopeBean enclosingScope()
null if the scope is top-levelpublic String toString()
Copyright © 2020. All Rights Reserved.