| java.lang.Object ch.ethz.prose.crosscut.McutAdvice ch.ethz.prose.crosscut.ConcreteConcreteMcutAdvice
ConcreteConcreteMcutAdvice | class ConcreteConcreteMcutAdvice extends McutAdvice (Code) | | An advice execution for an advice action of the form
XXX(Foo thisObj,String a, int b, other non-wildcards..)
This method redefines the allocStackArgs because it
knows that the number of arguments on the stack is exactly
equal to the number of arguments of the advice method.
|
Method Summary | |
protected void | allocStackArgs(int expectedLength) | protected void | execute() Invoke (reflection) the method of the advice object.
Because of the special signature of the advice, one can
pass the (unmodified) stack arguments directly to
Method.invoke . |
allocStackArgs | protected void allocStackArgs(int expectedLength)(Code) | | |
execute | protected void execute() throws IllegalAccessException, InvocationTargetException(Code) | | Invoke (reflection) the method of the advice object.
Because of the special signature of the advice, one can
pass the (unmodified) stack arguments directly to
Method.invoke . This is btw. efficient.
|
|
|