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.

ThreeA.java 384B

12345678910111213141516171819
  1. public class ThreeA {
  2. public static void main(String []argv) {
  3. System.out.println("ThreeA running");
  4. new ThreeA();
  5. new ThreeA("abc");
  6. new ThreeA(1,"abc");
  7. }
  8. ThreeA() {}
  9. ThreeA(String s) {}
  10. ThreeA(int i, String s) {}
  11. }
  12. aspect X {
  13. void around(): execution(new(..)) && !within(X) {
  14. System.out.println(thisEnclosingJoinPointStaticPart.getSignature());
  15. proceed();
  16. }
  17. }