Interface Creator

    • Method Detail

      • create

        <T> T create​(Class<T> clazz)
              throws InvalidClassException
        Deprecated.
        Create an object instance.
        Parameters:
        clazz - the type of object to create
        Returns:
        the object instance
        Throws:
        InvalidClassException - if an instance of the class could not be instantiated for some reason