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.

pr108602.java 544B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * GenericsError.java
  3. *
  4. * Created on September 1, 2005, 9:36 AM
  5. *
  6. */
  7. import java.util.Collection;
  8. interface GenericsError {
  9. public Collection<String> test(
  10. boolean arg1,
  11. boolean arg2,
  12. Object arg3) ;
  13. }
  14. /*
  15. * GenericsErrorImpl.java
  16. *
  17. * Created on September 1, 2005, 9:37 AM
  18. *
  19. */
  20. class GenericsErrorImpl implements GenericsError {
  21. public Collection<String> test(
  22. boolean arg1,
  23. boolean arg2,
  24. Object arg3) { return null; }
  25. }
  26. aspect ForceUnpacking {
  27. before() : execution(* *(..)) {}
  28. }