Hi,
I just noticed that a couple of places still make use of Method.getParameterTypes().length which could be replaced by Method.getParameterCount() since Java 8. By that we avoid unnecessary cloning overhead.
PR is attached.
Cheers,
Christoph
This was merged a while ago.