summaryrefslogtreecommitdiffstats
path: root/tests/bugs152/pr148007/test/LoggingAspect.aj
blob: ad52be82d05443b2f6441e4460236c695b8794e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package test;

public aspect LoggingAspect {
	
	pointcut logPointcut() :
		execution (* *(..))
        && within (test..*)
		&& !within(LoggingAspect);
	
	before() : logPointcut() {
			System.out.println("entering");
	}

    after() : logPointcut() {
            System.out.println("exiting");
    }
}