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.

Iffy.java 293B

123456789101112131415161718192021
  1. import java.util.*;
  2. import org.aspectj.lang.annotation.*;
  3. @Aspect
  4. class A {
  5. @Pointcut("execution(!void<?>[] *(..))")
  6. void pointCutError() {}
  7. @Before("pointCutError()")
  8. public void m() {}
  9. }
  10. public class Iffy {
  11. public Collection<?>[] getCollectionArray() {
  12. return null;
  13. }
  14. }