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.

pr141730.aj 716B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. import java.util.List;
  2. aspect A {
  3. pointcut p() : execution(* *.*(..));
  4. before() : p() {}
  5. public void MyClass.method() {}
  6. public MyClass.new() {super();}
  7. }
  8. class C {
  9. public C() {}
  10. public void method() {}
  11. public void intMethod(int i) {}
  12. public void stringMethod(String s) {}
  13. public void myClassMethod(MyClass s) {}
  14. public void genericMethod(List<String> l) {}
  15. public void twoArgsMethod(int i, String s) {}
  16. public void genericMethod2(MyGenericClass<String,MyClass> m) {}
  17. public static void main(String[] args) {}
  18. public void multiMethod(String[][] s) {}
  19. public void intArray(int[] i) {}
  20. }
  21. class MyClass {
  22. public MyClass(String s) {}
  23. }
  24. class MyGenericClass<X,Y> {}