選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

CircularPlusImplementsIntros.java 370B

1234567891011121314151617181920
  1. public class CircularPlusImplementsIntros {
  2. public static void main(String[] args) {
  3. org.aspectj.testing.Tester.check(false, "shouldn't have compiled!");
  4. }
  5. }
  6. interface I {}
  7. interface J {}
  8. class C {
  9. {
  10. I i = new I() {};
  11. J j = new J() {};
  12. }
  13. }
  14. aspect A {
  15. declare parents: I implements J;
  16. declare parents: J implements I;
  17. }