Inherited by edu.mit.csail.sdg.squander.engine.SquanderImpl.
Public Member Functions | |
< R > R | magic (Object caller, Method method, Object[] methodArgs) |
< R > R | magic (Object caller, JMethod method, Object[] methodArgs) |
ISquanderResult | getLastResult () |
Package Functions | |
< R > R | magic (Object caller, String clsName, String methodName, Class<?>[] methodParamTypes, Object[] methodArgs) |
Interface to the most essential Squander functions.
Definition at line 16 of file ISquander.java.
ISquanderResult edu.mit.csail.sdg.squander.engine.ISquander.getLastResult | ( | ) |
Returns the result of the last execution.
Implemented in edu.mit.csail.sdg.squander.engine.SquanderImpl.
Referenced by edu.mit.csail.sdg.squander.Squander.getLastResult().
<R> R edu.mit.csail.sdg.squander.engine.ISquander.magic | ( | Object | caller, | |
JMethod | method, | |||
Object[] | methodArgs | |||
) |
Executes the specification of the given JMethod
<R> | - the return type | |
caller | - the caller instance (null if the method is static) | |
method | - Squander's internal representation of a method (which includes method's spec). This can be used to execute specs that are not necessarily given as annotations on a Java method | |
methodArgs | - actual method arguments |
void
) Implemented in edu.mit.csail.sdg.squander.engine.SquanderImpl.
<R> R edu.mit.csail.sdg.squander.engine.ISquander.magic | ( | Object | caller, | |
Method | method, | |||
Object[] | methodArgs | |||
) |
Executes the specification of the given Java method
<R> | - the return type | |
caller | - the caller instance (null if the method is static) | |
method | - Java method | |
methodArgs | - actual method arguments |
void
) Implemented in edu.mit.csail.sdg.squander.engine.SquanderImpl.
<R> R edu.mit.csail.sdg.squander.engine.ISquander.magic | ( | Object | caller, | |
String | clsName, | |||
String | methodName, | |||
Class<?>[] | methodParamTypes, | |||
Object[] | methodArgs | |||
) | [package] |
Executes the specification for the given method.
<R> | - the return type | |
caller | - the caller instance (null if the method is static) | |
clsName | - name of the declaring class | |
methodName | - method name | |
methodParamTypes | - method parameter types | |
methodArgs | - actual method arguments |
void
) Implemented in edu.mit.csail.sdg.squander.engine.SquanderImpl.
Referenced by edu.mit.csail.sdg.squander.Squander.exe().