|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rice.cs.dynamicjava.symbol.JavaClass.JavaMethod
protected class JavaClass.JavaMethod
| Field Summary | |
|---|---|
protected Method |
_m
|
| Constructor Summary | |
|---|---|
JavaClass.JavaMethod(Method m)
|
|
| Method Summary | |
|---|---|
Access |
accessibility()
The symbol's access level. |
Access.Module |
accessModule()
Get the module enclosing this symbol's declaration. |
String |
declaredName()
The name used to access this symbol. |
DJMethod |
declaredSignature()
Get the original declared method (prior to any substitutions, etc). |
DJClass |
declaringClass()
The class declaring this method. |
Object |
evaluate(Object receiver,
Iterable<Object> args,
RuntimeBindings bindings,
Options options)
Invoke the method with the given parameters. |
boolean |
isAbstract()
|
boolean |
isFinal()
|
boolean |
isStatic()
|
protected Thunk<Iterable<LocalVariable>> |
makeParamThunk()
|
Iterable<LocalVariable> |
parameters()
|
Type |
returnType()
|
Iterable<Type> |
thrownTypes()
|
String |
toString()
|
Iterable<VariableType> |
typeParameters()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final Method _m
| Constructor Detail |
|---|
public JavaClass.JavaMethod(Method m)
| Method Detail |
|---|
protected Thunk<Iterable<LocalVariable>> makeParamThunk()
public String declaredName()
Access.Limited
declaredName in interface Access.LimiteddeclaredName in interface Functionpublic DJClass declaringClass()
DJMethod
declaringClass in interface DJMethodpublic boolean isStatic()
isStatic in interface DJMethodpublic boolean isAbstract()
isAbstract in interface DJMethodpublic boolean isFinal()
isFinal in interface DJMethodpublic Access accessibility()
Access.Limited
accessibility in interface Access.Limitedaccessibility in interface DJMethodpublic Access.Module accessModule()
Access.Limited
accessModule in interface Access.LimitedaccessModule in interface DJMethodpublic Type returnType()
returnType in interface Functionpublic Iterable<VariableType> typeParameters()
typeParameters in interface Functionpublic Iterable<LocalVariable> parameters()
parameters in interface Functionpublic Iterable<Type> thrownTypes()
thrownTypes in interface Functionpublic DJMethod declaredSignature()
DJMethod
declaredSignature in interface DJMethod
public Object evaluate(Object receiver,
Iterable<Object> args,
RuntimeBindings bindings,
Options options)
throws EvaluatorException
DJMethod
evaluate in interface DJMethodEvaluatorExceptionpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||