aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs153/pr148693/MyAspect.java
blob: b4fa5bb79284e971bae4063ab5c263dc85291eae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package mypackage; 

public aspect MyAspect { 

    pointcut executeMethod(): within(TestClass) && execution(* *(..)); 

    before(): executeMethod() { 
     System.out.println("Enter "+thisJoinPointStaticPart); 
    } 
    after(): executeMethod() { 
     System.out.println("Leave "+thisJoinPointStaticPart); 
    } 
} 

class TestClass { 

public static void main(String[] args) { } 

}