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.

FinalITDMOnInterface2.aj 428B

123456789101112131415161718192021222324
  1. public class FinalITDMOnInterface2 {
  2. public static void main(String[] args) {
  3. FinalITDMOnInterface2 f = new FinalITDMOnInterface2();
  4. f.m();
  5. }
  6. public void m() {
  7. System.out.println("in class method");
  8. }
  9. }
  10. aspect A {
  11. interface TestInterface {}
  12. public final void TestInterface.m() {
  13. System.out.println("in aspect declared method");
  14. }
  15. declare parents : FinalITDMOnInterface2 implements TestInterface;
  16. }