MethodCall allows you to "spread" array arguments conveniently via the withArgumentArrayElements(int, int, int) method.
MethodCall
withArgumentArrayElements(int, int, int)
InvokeDynamic features some analogous "with" methods, but not that one.
InvokeDynamic
Is there a reason for this, or just the DSL hasn't been implemented here yet?
It's simply not implemented, but a pull request adding this functionality would certainly be accepted.
2.1m questions
2.1m answers
60 comments
57.0k users