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.

OverloadedPointcuts.java 286B

123456
  1. //disallow defining more than one pointcut with the same name (PR#385)
  2. aspect OverloadedPointcuts {
  3. static void foo(int i) {}
  4. pointcut fooCut(): execution(void OverloadedPointcuts.foo(int));
  5. pointcut fooCut(int i): execution(void OverloadedPointcuts.foo(int)) && args(i);
  6. }