Searched refs:paramset (Results 1 – 1 of 1) sorted by relevance
54 Object[] paramset = Utils.safelyCastParamsToArray(params); in castParamsFromObjects() local57 return castParamsUsingConverters(paramset); in castParamsFromObjects()61 Class<?>[] typesOfParameters = createArrayOfTypesOf(paramset); in castParamsFromObjects()62 … Object resultParam = createObjectOfExpectedTypeBasedOnParams(paramset, typesOfParameters); in castParamsFromObjects()67 …private Object createObjectOfExpectedTypeBasedOnParams(Object[] paramset, Class<?>[] typesOfParame… in createObjectOfExpectedTypeBasedOnParams() argument72 resultParam = Array.newInstance(typesOfParameters[0], paramset.length); in createObjectOfExpectedTypeBasedOnParams()73 for (int i = 0; i < paramset.length; i++) { in createObjectOfExpectedTypeBasedOnParams()74 ((Object[]) resultParam)[i] = paramset[i]; in createObjectOfExpectedTypeBasedOnParams()77 …tMethod.getMethod().getParameterTypes()[0].getConstructor(typesOfParameters).newInstance(paramset); in createObjectOfExpectedTypeBasedOnParams()86 private Class<?>[] createArrayOfTypesOf(Object[] paramset) { in createArrayOfTypesOf() argument[all …]