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.

AnnotationPlusPatternParseError.aj 340B

123456789101112131415161718192021222324
  1. import java.lang.annotation.*;
  2. public aspect AnnotationPlusPatternParseError {
  3. pointcut bar() : call(* (@MemberOfMonitoredSet *)+.*(..));
  4. declare warning : bar() : "humbug";
  5. }
  6. @interface MemberOfMonitoredSet {}
  7. @MemberOfMonitoredSet
  8. interface I {}
  9. class C implements I {
  10. void bar() {
  11. foo();
  12. }
  13. public void foo() {};
  14. }