Right now, there is no special handling for methods with primitive or array parameters.
This results in errors, when trying to use bean classes, that have such methods, with to-java and from-java.
The attached patch implements handling of primitives and arrays in the following manner:
- When the :default methods of from-java and to-java see an array type, they extend the multimethods for that array type.
Issue: Is Iterable the right interface to extend the multimethod to? Sequential also came to mind, but Iterable was used elsewhere.
- Values that hit a numeric primitive slot (in to-java) are manually boxed, so they aren't passed as longs.