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.

ErrorOne.java 288B

12345678910111213141516
  1. import java.lang.annotation.*;
  2. public class ErrorOne {
  3. public static void main(String[] args) { }
  4. }
  5. @interface Anno {
  6. float fval();
  7. }
  8. enum Color { RED,GREEN,BLUE };
  9. // Non existent value of the annotation!
  10. aspect X {
  11. before(): execution(@Anno(ival=Color.GREEN) * *(..)) {}
  12. }