| java.lang.Object ch.ethz.prose.crosscut.CcutAdvice ch.ethz.prose.crosscut.WildcardConcreteCcutAdvice
WildcardConcreteCcutAdvice | class WildcardConcreteCcutAdvice extends CcutAdvice (Code) | | An advice execution for an advice action of the form
XXX(ANY 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.
version: $Revision$ author: Angela Nicoara author: Gerald Linhofer |
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 stack arguments 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 stack arguments to
Method.invoke . the only modification of
the actual stack arguments is to wrap the target into
an ANY object.
|
|
|