Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

pr115235.aj 638B

12345678910111213141516171819202122
  1. abstract aspect GenericAbstractAspect<T>{
  2. abstract protected pointcut pc();
  3. before() : pc() {}
  4. }
  5. aspect Concrete extends GenericAbstractAspect<Concrete> {
  6. // should get circular dependency error message from this
  7. protected pointcut pc() : pc();
  8. }
  9. aspect Concrete2 extends GenericAbstractAspect<Concrete2> {
  10. // this should compile as expected
  11. protected pointcut pc() : p1();
  12. pointcut p1() : call(void Concrete2.foo(..));
  13. }
  14. aspect Concrete3 extends GenericAbstractAspect<Concrete3> {
  15. // should get circular dependency error message from this
  16. protected pointcut pc() : pc1();
  17. pointcut pc1() : pc2();
  18. pointcut pc2() : pc();
  19. }