diff options
Diffstat (limited to 'ajde/testdata/SecurityManagerTest/src/Aspect.aj')
-rw-r--r-- | ajde/testdata/SecurityManagerTest/src/Aspect.aj | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/ajde/testdata/SecurityManagerTest/src/Aspect.aj b/ajde/testdata/SecurityManagerTest/src/Aspect.aj new file mode 100644 index 000000000..74a3f6bc9 --- /dev/null +++ b/ajde/testdata/SecurityManagerTest/src/Aspect.aj @@ -0,0 +1,24 @@ +/*
+ * Created on 28-Sep-2004
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+
+
+
+/** + * @author websterm + * + * TODO To change the template for this generated type comment go to + * Window - Preferences - Java - Code Style - Code Templates + */
+public aspect Aspect {
+
+ pointcut method () :
+ execution(* println(..)) && within(HelloWorld) && cflow(execution(* main(..)));
+
+ before () : method () {
+ System.out.println(thisJoinPoint.getSignature());
+ }
+}
|