default <T> T applyOrNull(Class<T> type) {
            try {
                return apply(type);
            } catch (Exception t) {
                return null;
            }
        }
Resolves the specified type into an instance, returning null
if it could not be resolved.

@param <T>  the type to resolve

@param type  the type to resolve
@return      the instance resolved or null
common-parent/injector/src/main/java/com/speedment/common/injector/execution/Execution.java