mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-09-13 15:45:38 +02:00
15 lines
373 B
Java
15 lines
373 B
Java
|
|
import org.aspectj.testing.Tester;
|
|
public class AspectInInterfaceCP {
|
|
public static void main(String[] args) {
|
|
Tester.checkEvents("before");
|
|
}
|
|
}
|
|
|
|
interface HasPrivateAspect {
|
|
/** @testcase PR#534 static aspect in interface causes CE if - usejavac */
|
|
static aspect Inner {
|
|
before(): execution(* main(..)) { Tester.event("before"); }
|
|
}
|
|
}
|