@Test public void testConstructAbstractClass() { assertThatExceptionOfType(ConfigurationException.class) .isThrownBy(() -> ReflectionUtils.construct(AbstractClass.class)); }
public static <T> T construct(Class<? extends T> type, Object... parameters) throws ConfigurationException { return construct(type, getParameterClasses(parameters), parameters); }
ReflectionUtils { public static <T> T construct(Class<? extends T> type, Object... parameters) throws ConfigurationException { return construct(type, getParameterClasses(parameters), parameters); } }
ReflectionUtils { public static <T> T construct(Class<? extends T> type, Object... parameters) throws ConfigurationException { return construct(type, getParameterClasses(parameters), parameters); } private  ReflectionUtils(); }
ReflectionUtils { public static <T> T construct(Class<? extends T> type, Object... parameters) throws ConfigurationException { return construct(type, getParameterClasses(parameters), parameters); } private  ReflectionUtils(); static T construct(Class<? extends T> type, Object... parameters); static T construct(Class<? extends T> type, Class<?>[] parameterClasses, Object... parameters); static Class<? extends T> resolveClassOfType(String className, Class<T> wantedClass, Class<?>... parameterClasses); }
ReflectionUtils { public static <T> T construct(Class<? extends T> type, Object... parameters) throws ConfigurationException { return construct(type, getParameterClasses(parameters), parameters); } private  ReflectionUtils(); static T construct(Class<? extends T> type, Object... parameters); static T construct(Class<? extends T> type, Class<?>[] parameterClasses, Object... parameters); static Class<? extends T> resolveClassOfType(String className, Class<T> wantedClass, Class<?>... parameterClasses);  }