aboutsummaryrefslogtreecommitdiffstats
path: root/tests/new/typeNameConflicts/aspects/A.java
blob: a00046ccecfa8a631244d6318ff3e8e9944f1693 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package typeNameConflicts.aspects;

aspect A {
    /*
    before(): set(int value) { //&& args(o) {
        System.out.println(thisJoinPointStaticPart);
    }
    */

    after() returning(Object o): set(int value) {
        System.out.println(o);
    }


    before(): call(void Runnable.run()) {
        System.out.println("about to run");
    }

    /*
    after(): set(int value) {
        System.out.println("set");
    }
    after() throwing: set(int value) {
        System.out.println("throwing");
    }
    */
}