public final class ReflectionUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static <T> T |
newInstance(java.lang.ClassLoader classLoader,
java.lang.String className) |
static <T> T |
newInstance(java.lang.String className) |
public static <T> T newInstance(java.lang.String className) throws java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
public static <T> T newInstance(java.lang.ClassLoader classLoader, java.lang.String className) throws java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.InstantiationException
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.InstantiationException