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.

AnnotatedAspect08.aj 439B

123456789101112131415161718192021222324252627
  1. package a;
  2. @TypeAnnotation
  3. public aspect AnnotatedAspect08 {
  4. // should just compile harmlessly
  5. @AnyAnnotation
  6. declare warning : get(* *) : "bah humbug";
  7. @FieldAnnotation
  8. declare error: set(* *) : "hum bahbug";
  9. @AnyAnnotation
  10. declare soft : Exception: execution(* *(..));
  11. @ConstructorAnnotation
  12. declare parents : A implements I;
  13. @AnyAnnotation
  14. declare parents : A extends B;
  15. }
  16. class A {}
  17. class B {}
  18. interface I {}