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.

ClassExtendingAbstractAspectCE.java 423B

1234567891011121314151617181920212223
  1. import org.aspectj.testing.*;
  2. public class ClassExtendingAbstractAspectCE {
  3. public static void main(String[] args) {
  4. new ClassExtendingAbstractAspectCE().go(args);
  5. }
  6. void go(String[] args) {
  7. Extends e = new Extends();
  8. Tester.check(false, "shouldn't have compiled!");
  9. }
  10. }
  11. abstract aspect Aspect {
  12. }
  13. class Extends extends Aspect { // CE 20
  14. pointcut p(): call(* *());
  15. }