Why not just clazz.getConstructor().newInstance()? > + * can be replaced by > + * > + * <pre>{@code > + * clazz.getConstructor(new Class<?>[0]).newInstance((Object[])null); > + * }</pre>