blob: 9c55f5716e7c62d537b984eb5df401ab2ac57c87 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
package parent;
import org.aspectj.testing.*;
/** @testcase PR#647 concrete aspect unable to access abstract package-private pointcut in parent for overriding */
public abstract aspect ParentCE {
abstract pointcut define();
public abstract pointcut fromInterface();
pointcut withSig(int i): args(i);
before() : define() {
Tester.event("define");
}
}
aspect Child extends ParentCE {
pointcut define() : call(public void Runnable.run());
public pointcut fromInterface(): call(* *(..));
pointcut withSig(): args(); // should be CE incompatible params
}
|