aboutsummaryrefslogtreecommitdiffstats
path: root/ajde/testdata/WeaveInfoMessagesTest/AspectAdvice.aj
diff options
context:
space:
mode:
Diffstat (limited to 'ajde/testdata/WeaveInfoMessagesTest/AspectAdvice.aj')
-rw-r--r--ajde/testdata/WeaveInfoMessagesTest/AspectAdvice.aj32
1 files changed, 0 insertions, 32 deletions
diff --git a/ajde/testdata/WeaveInfoMessagesTest/AspectAdvice.aj b/ajde/testdata/WeaveInfoMessagesTest/AspectAdvice.aj
deleted file mode 100644
index 7ced0baf7..000000000
--- a/ajde/testdata/WeaveInfoMessagesTest/AspectAdvice.aj
+++ /dev/null
@@ -1,32 +0,0 @@
-// Simple aspect that tramples all over Simple.java
-
-public aspect AspectAdvice {
-
- // Go through all the kinds of things that might affect a type:
- pointcut methodRunning(): execution(* *(..)) && !execution(* main(..));
-
- before(): methodRunning() {
- System.err.println("BEFORE ADVICE");
- }
-
- after(): methodRunning() {
- System.err.println("AFTER ADVICE");
- }
-
- after() returning: methodRunning() {
- System.err.println("AFTER RETURNING ADVICE");
- }
-
- after() throwing : methodRunning() {
- System.err.println("AFTER THROWING ADVICE");
- }
-
- void around(): execution(* main(..)) && !cflow(adviceexecution()){
- System.err.println("AROUND ADVICE");
- proceed();
- }
-
-
- interface markerInterface {
- }
-}