|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.1.0) E13403-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Scope
Field Summary | |
---|---|
static int |
SCOPE_BLOCK
This scope is a CodeBlockSymbol. |
static int |
SCOPE_CATCH
This scope is a CatchClause. |
static int |
SCOPE_CLASS
This scope is a ClassSymbol. |
static int |
SCOPE_MEMBER
This scope is a MemberSymbol that is NOT a MethodSymbol. |
static int |
SCOPE_METHOD
This scope is a MethodSymbol. |
static int |
SCOPE_ROOT
This scope is a RootSymbol. |
static int |
SCOPE_STATEMENT
This scope is a StatementSymbol that is NOT a CatchClause. |
static int |
SCOPE_TRY
This scope is a TryStatement. |
Method Summary | |
---|---|
boolean |
findLabel(java.lang.String name)
Note that only STATEMENT scopes may return true for findLabel. |
ClassSymbol |
findType(java.lang.String name)
If this scope contains local classes or declared member inner classes, check to see if one exists that matches the given name. |
VariableSymbol |
findVariable(java.lang.String name)
If this scope contains local variables, method parameters, or declared member fields, check to see if one exists that matches the given name. |
CatchClause[] |
getCatchClauses()
|
ClassSymbol[] |
getClasses()
|
Scope |
getEnclosingScope()
Retrieves the most tightly enclosing scope object. |
NameSymbol[] |
getLabels()
|
int |
getModifiers()
If this is a ClassSymbol or a MemberSymbol, return the modifiers. |
int |
getScopeType()
Returns the type of this scope according to the enumeration. |
VariableSymbol[] |
getVariables()
|
void |
setEnclosingScope(Scope scope)
Sets the enclosing scope to the given Scope object. |
Field Detail |
---|
static final int SCOPE_ROOT
static final int SCOPE_CLASS
static final int SCOPE_MEMBER
static final int SCOPE_METHOD
static final int SCOPE_BLOCK
static final int SCOPE_STATEMENT
static final int SCOPE_TRY
static final int SCOPE_CATCH
Method Detail |
---|
int getScopeType()
Scope getEnclosingScope()
void setEnclosingScope(Scope scope)
int getModifiers()
boolean findLabel(java.lang.String name)
VariableSymbol findVariable(java.lang.String name)
ClassSymbol findType(java.lang.String name)
NameSymbol[] getLabels()
VariableSymbol[] getVariables()
ClassSymbol[] getClasses()
CatchClause[] getCatchClauses()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.1.0) E13403-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |