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.

CaseJ.java 343B

1234567891011121314151617
  1. // TESTING: invalid return type for factory method
  2. import org.aspectj.lang.annotation.*;
  3. public class CaseJ {
  4. public static void main(String[]argv) { }
  5. }
  6. aspect X {
  7. @DeclareMixin("A")
  8. public static void createImplementation1() {}
  9. @DeclareMixin("A")
  10. public static int createImplementation2(Object o) {return 2;}
  11. }
  12. interface I {}