From 4f46be7c62e76950028e5e8a7214f209d6343bda Mon Sep 17 00:00:00 2001 From: avasseur Date: Fri, 20 May 2005 12:27:59 +0000 Subject: moved bcel things to bcel package in weaver, deow test + fix for @AJ --- docs/adk15ProgGuideDB/ataspectj.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/adk15ProgGuideDB/ataspectj.xml b/docs/adk15ProgGuideDB/ataspectj.xml index b3986ef90..febf50033 100644 --- a/docs/adk15ProgGuideDB/ataspectj.xml +++ b/docs/adk15ProgGuideDB/ataspectj.xml @@ -323,13 +323,13 @@ System.out.println("phew"); } - @AfterReturning(value="call(Foo+.new(..))",returning="f") + @AfterReturning(pointcut="call(Foo+.new(..))",returning="f") public void itsAFoo(Foo f) { System.out.println("It's a Foo: " + f); } ]]> - (Note the need for the "value=" prefix in front of the pointcut + (Note the use of the "pointcut=" prefix in front of the pointcut expression in the returning case). After throwing advice works in a similar fashion, using the -- cgit v1.2.3