Interface Creator

    • Method Detail

      • create

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