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.

EachCFlowRoot2.java 306B

12345678910111213
  1. import org.aspectj.testing.Tester;
  2. public class EachCFlowRoot2 {
  3. public static void main(String[] args) {
  4. Tester.check(true, "compiled");
  5. }
  6. }
  7. aspect A of eachcflow(B.pctop()) {
  8. pointcut pc() : within(C) ;
  9. }
  10. aspect B {
  11. pointcut pctop(): within(C) && !cflow(within(C));
  12. }
  13. class C {}