|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectovm.polyd.policy.Invocation
ovm.polyd.policy.PlainInvocation
ovm.polyd.policy.DebuggingInvocation
public class DebuggingInvocation
An invocation policy that prints on the standard output all the method invocations, and the return values.
| Method Summary | |
|---|---|
java.lang.Object |
invoke(java.lang.Object obj,
java.lang.reflect.Method m,
java.lang.Object[] args)
Invoke one method, using the given argument, performing additional actions whenever necessary. |
static Invocation |
theInvocation()
Returns an instance of this invocation policy. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Invocation theInvocation()
public java.lang.Object invoke(java.lang.Object obj,
java.lang.reflect.Method m,
java.lang.Object[] args)
throws java.lang.Throwable
Invocation
invoke in class PlainInvocationobj - the instance to which the message is sentm - the methodargs - the arguments (including wrapped primitives)
null
java.lang.Throwable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||