您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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. }