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.

BindingInNotCf.java 362B

1234567891011121314
  1. /**
  2. * AspectJ should have a rule that binding parameters lexically
  3. * within a ! is always an error. These test some of the most
  4. * obvious forms of that.
  5. */
  6. public aspect BindingInNotCf {
  7. pointcut pc1(Object o): this(o);
  8. pointcut pc2(Object o): !this(o); //CE
  9. pointcut pc3(Object o): !pc2(o); //CE
  10. pointcut pc4(Object o): !!pc1(o); //CE
  11. }