diff options
Diffstat (limited to 'org.aspectj.ajdt.core/testdata/src1/LTWPerthis.aj')
-rw-r--r-- | org.aspectj.ajdt.core/testdata/src1/LTWPerthis.aj | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/org.aspectj.ajdt.core/testdata/src1/LTWPerthis.aj b/org.aspectj.ajdt.core/testdata/src1/LTWPerthis.aj new file mode 100644 index 000000000..955d72096 --- /dev/null +++ b/org.aspectj.ajdt.core/testdata/src1/LTWPerthis.aj @@ -0,0 +1,13 @@ +import java.util.List;
+
+public aspect LTWPerthis perthis(this(LTWHelloWorld)) {
+
+ pointcut println (List list) :
+ execution(* println()) && this(list);
+
+ before (List list) : println (list) {
+ System.err.println("LTWPerthis.println(" + thisJoinPointStaticPart + ")");
+ list.add(getClass().getName());
+ }
+
+}
|