public class ReflectionUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static <T extends IConfig<T>> |
newInstance(java.lang.Class<T> klass)
Creates an instance of a given config class.
|
public static <T extends IConfig<T>> T newInstance(java.lang.Class<T> klass)
T - The type of the classklass - The class to be instantiatedConfigManager#create(Class, String)