org.aspectj/tests/bugs/InnerPointcut.java
jhugunin 0a175d2d03 FIXED: Bugzilla Bug 32421
can't resolve nested public interfaces 

FIXED: Bugzilla Bug 32399  
   Incorrect binding of protected (marker) interfaces
2003-03-06 22:12:00 +00:00

21 рядки
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";
}
}
}