MCPcopy Index your code
hub / github.com/beanshell/beanshell / wrap

Method wrap

src/bsh/Primitive.java:881–890  ·  view source on GitHub ↗
( Object[] args, Class [] paramTypes )

Source from the content-addressed store, hash-verified

879 /*
880 */
881 public static Object [] wrap( Object[] args, Class [] paramTypes )
882 {
883 if ( args == null )
884 return null;
885
886 Object [] oa = new Object[ args.length ];
887 for(int i=0; i<args.length; i++)
888 oa[i] = wrap( args[i], paramTypes[i] );
889 return oa;
890 }
891
892 /**
893 Wrap primitive values (as indicated by type param) and nulls in the

Callers 8

getValueMethod · 0.95
invokeMethodMethod · 0.95
getIndexMethod · 0.95
getFieldValueMethod · 0.95
invokeImplMethod · 0.95
getValueMethod · 0.95
castObjectMethod · 0.95
invokeImplMethod · 0.95

Calls 4

isWrapperTypeMethod · 0.95
booleanValueMethod · 0.80
getClassMethod · 0.80
isPrimitiveMethod · 0.45

Tested by

no test coverage detected