You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Three.java 424B

123456789101112131415
  1. // Three.m() is ITD from another aspect. Aspects other way round to case Two
  2. public class Three {
  3. // public void m() {} --> gone to aspect
  4. public static void main(String []argv) {
  5. if (!(new Three() instanceof java.io.Serializable)) System.err.println("declare parents failed");
  6. }
  7. }
  8. aspect Y {
  9. public void Three.m() {}
  10. }
  11. aspect X {
  12. declare parents: hasmethod(public void m()) implements java.io.Serializable;
  13. }