4849505152535455
return type.cast(constructor.newInstance(resolvedParameters)); } catch (InvocationTargetException e) { throw e.getCause(); } } catch (Throwable e) { throw new ObjectInstantiationException(type, e); } }