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.
123456789101112131415 |
- // Two.m() is ITD from another aspect
- public class Two {
- // public void m() {} --> gone to aspect
- public static void main(String []argv) {
- if (!(new Two() instanceof java.io.Serializable)) System.err.println("declare parents failed");
- }
- }
-
-
- aspect X {
- declare parents: hasmethod(public void m()) implements java.io.Serializable;
- }
- aspect Y {
- public void Two.m() {}
- }
|