mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-27 05:54: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"); }
|
||
|
}
|
||
|
}
|