Class InstantiationHelpers
- java.lang.Object
-
- com.broadleafcommerce.metadata.dsl.core.helpers.InstantiationHelpers
-
public final class InstantiationHelpers extends Object
- Author:
- Nick Crum (ncrum)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> T
createInstance(Class<T> clazz)
Creates a new instance of the provide class.
-
-
-
Method Detail
-
createInstance
public static <T> T createInstance(Class<T> clazz)
Creates a new instance of the provide class.- Type Parameters:
T
- the type of the clazz- Parameters:
clazz
- the class to construct- Returns:
- an instance of the class
-
-