Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

AspectInInterfaceCP.java 373B

1234567891011121314
  1. import org.aspectj.testing.Tester;
  2. public class AspectInInterfaceCP {
  3. public static void main(String[] args) {
  4. Tester.checkEvents("before");
  5. }
  6. }
  7. interface HasPrivateAspect {
  8. /** @testcase PR#534 static aspect in interface causes CE if - usejavac */
  9. static aspect Inner {
  10. before(): execution(* main(..)) { Tester.event("before"); }
  11. }
  12. }