MCPcopy Index your code
hub / github.com/clojure/clojure / boxArgs

Method boxArgs

src/jvm/clojure/lang/Reflector.java:629–640  ·  view source on GitHub ↗
(Class[] params, Object[] args)

Source from the content-addressed store, hash-verified

627}
628
629static Object[] boxArgs(Class[] params, Object[] args){
630 if(params.length == 0)
631 return null;
632 Object[] ret = new Object[params.length];
633 for(int i = 0; i < params.length; i++)
634 {
635 Object arg = args[i];
636 Class paramType = params[i];
637 ret[i] = boxArg(paramType, arg);
638 }
639 return ret;
640}
641
642static public boolean paramArgTypeMatch(Class paramType, Class argType){
643 if(argType == null)

Callers 3

evalMethod · 0.95
invokeMatchingMethodMethod · 0.95
invokeConstructorMethod · 0.95

Calls 1

boxArgMethod · 0.95

Tested by

no test coverage detected