org.aspectj/tests/new/AspectInInterfaceCF.java
2002-12-16 18:51:06 +00:00

18 lines
492 B
Java

import org.aspectj.testing.Tester;
public class AspectInInterfaceCF {
public static void main(String[] args) {
Tester.checkEvents("before");
}
}
interface HasPrivateAspect {
/** @testcase PR#534 static aspect in interface causes CE if - usejavac */
private static aspect Inner {
before(): execution(* main(..)) { Tester.event("before"); }
}
protected static aspect Inner1 {
before(): execution(* main(..)) { Tester.event("before"); }
}
}