|
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 |
java.lang.Objectoracle.javatools.parser.util.ArrayListHeap
oracle.javatools.parser.java.v1.symbol.JavaSymbol
oracle.javatools.parser.java.v1.symbol.HasModifiers
oracle.javatools.parser.java.v1.symbol.MemberSymbol
oracle.javatools.parser.java.v1.symbol.MethodSymbol
public class MethodSymbol
The MethodSymbol
represents a method declaration.
Field Summary |
---|
Fields inherited from class oracle.javatools.parser.java.v1.symbol.MemberSymbol |
---|
CONSTRUCTOR, FIELD, INITIALIZER, INNER_CLASS, METHOD |
Fields inherited from interface oracle.javatools.parser.java.v1.symbol.Scope |
---|
SCOPE_BLOCK, SCOPE_CATCH, SCOPE_CLASS, SCOPE_MEMBER, SCOPE_METHOD, SCOPE_ROOT, SCOPE_STATEMENT, SCOPE_TRY |
Method Summary | |
---|---|
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. |
NameSymbol |
getName()
Gets the name symbol. |
VariableSymbol[] |
getParameters()
|
TypeSymbol |
getReturnType()
|
int |
getScopeType()
Returns the type of this scope according to the enumeration. |
TypeSymbol[] |
getThrownTypes()
|
NameSymbol[] |
getThrows()
|
VariableSymbol[] |
getVariables()
|
boolean |
isConstructor()
|
void |
setName(NameSymbol name)
Sets the name symbol. |
Methods inherited from class oracle.javatools.parser.java.v1.symbol.MemberSymbol |
---|
findLabel, findType, getBlock, getCatchClauses, getClasses, getComment, getEnclosingScope, getLabels, getLocalClasses, isDeprecated, isHidden, setComment, setEnclosingScope, whatAmI |
Methods inherited from class oracle.javatools.parser.java.v1.symbol.HasModifiers |
---|
getModifiers, setModifiers |
Methods inherited from class oracle.javatools.parser.java.v1.symbol.JavaSymbol |
---|
getCode, getEndOffset, getParent, getStartOffset |
Methods inherited from class oracle.javatools.parser.util.ArrayListHeap |
---|
allocArrayList, freeArrayList |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.javatools.parser.java.v1.symbol.Scope |
---|
getModifiers |
Method Detail |
---|
public boolean isConstructor()
public VariableSymbol[] getParameters()
public NameSymbol[] getThrows()
public TypeSymbol[] getThrownTypes()
public TypeSymbol getReturnType()
public int getScopeType()
getScopeType
in interface Scope
getScopeType
in class MemberSymbol
public VariableSymbol findVariable(java.lang.String name)
findVariable
in interface Scope
findVariable
in class MemberSymbol
public VariableSymbol[] getVariables()
getVariables
in interface Scope
getVariables
in class MemberSymbol
public NameSymbol getName()
Nameable
getName
in interface Nameable
public void setName(NameSymbol name)
Nameable
setName
in interface Nameable
|
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 |