public static List<ValidationEvent> compare(ClassLoader classLoader, Model oldModel, Model newModel) {
        return builder()
                .oldModel(oldModel)
                .newModel(newModel)
                .classLoader(classLoader)
                .compare()
                .getDiffEvents();
    }
Evaluates the differences between two models.

<p>Use {@link Builder} directly to get access to additional information.

@param classLoader ClassLoader used to find {@link DiffEvaluator} service providers.
@param oldModel Previous version of the model.
@param newModel New model to compare.
@return Returns the computed validation events.
smithy-diff/src/main/java/software/amazon/smithy/diff/ModelDiff.java