Class InstantiationHelpers


  • public final class InstantiationHelpers
    extends Object
    Author:
    Nick Crum (ncrum)
    • 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