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.

MinimalExample.java 381B

12345678910111213
  1. public aspect MinimalExample {
  2. declare @type : @AnnotationWithParam("arg") * : @AnnotationWithParam2("gra");
  3. // the following lines leads to a misleading compiler error
  4. declare @type : @AnnotationWithParamAndTypo("arg") * : @AnnotationWithParam2("gra");
  5. }
  6. @interface AnnotationWithParam {
  7. String value();
  8. }
  9. @interface AnnotationWithParam2 {
  10. String value();
  11. }