Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Iterate over all Join Points of a Pointcut?

Is it possible to iterate over all Join Points of a Pointcut?

For example something like:

pointcut pc: call(@Special * *(..))

public void listSpecials() {
  System.out.println("All special methods:");
  for (JointPoint jp : pc) {
    System.out.println("> "+jp);
  }
}

Best Regards,
Sebastian Baltes


Back to the top