Lines Matching refs:returnType
226 private Object createNumberObject(Object value, Class<?> returnType) {
231 if (returnType.equals(Byte.TYPE)) {
233 } else if (returnType.equals(Short.TYPE)) {
235 } else if (returnType.equals(Character.TYPE)) {
237 } else if (returnType.equals(Integer.TYPE)) {
239 } else if (returnType.equals(Long.TYPE)) {
241 } else if (returnType.equals(Float.TYPE)) {
243 } else if (returnType.equals(Double.TYPE)) {
251 Class<?> returnType = lastInvocation.getMethod().getReturnType();
252 return createNumberObject(o, returnType);
346 Class<?> returnType = lastInvocation.getMethod().getReturnType();
347 return returnType.equals(Void.TYPE);