aboutsummaryrefslogtreecommitdiffstats
path: root/tests/new/access/psub/A.java
blob: 0b4a1a5720ce913f60419464b439475749823079 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package psub;

import org.aspectj.testing.Tester;
import pc.C;

aspect A {
    before(): call(String SubC.getMyPackage()) {
	//XXXTester.checkFailed("shouldn't ever run this " + thisJoinPoint);
    }
    before(): call(String C.getMyPackage()) {
	Tester.note("C.getMyPackage on " + thisJoinPoint.getTarget().getClass().getName());
    }
}