kopie van
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-26 05:57:44 +02:00
![jhugunin](/assets/img/avatar_default.png)
can't resolve nested public interfaces FIXED: Bugzilla Bug 32399 Incorrect binding of protected (marker) interfaces
21 regels
469 B
Java
21 regels
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";
|
|
}
|
|
}
|
|
|
|
}
|