mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-09-13 15:45:38 +02:00
0a175d2d03
can't resolve nested public interfaces FIXED: Bugzilla Bug 32399 Incorrect binding of protected (marker) interfaces
21 lines
469 B
Java
21 lines
469 B
Java
// for Bug#: 32428
|
|
import org.aspectj.testing.Tester;
|
|
|
|
|
|
public class InnerPointcut {
|
|
public static void main(String[] args) {
|
|
Tester.checkEqual(TrackTestCase.note, "ran");
|
|
}
|
|
|
|
pointcut testcutOuter(): within(InnerPointcut);
|
|
|
|
static aspect TrackTestCase {
|
|
static String note = "not run yet";
|
|
pointcut testcut() : execution(public void mai*(..));
|
|
before() : testcut() && testcutOuter() {
|
|
note = "ran";
|
|
}
|
|
}
|
|
|
|
}
|