org_eclipse_lemminx_extensions_prolog_PrologCompletionExtensionsTest_java
org.eclipse.lemminx.extensions.contentmodel.ContentModelPlugin
@Override
    public void doSave(ISaveContext context) {
        if (context.getType() == ISaveContext.SaveContextType.DOCUMENT) {
            String documentURI = context.getUri();
            DOMDocument document = context.getDocument(documentURI);
            if (document != null && DOMUtils.isCatalog(document)) {
                this.contentModelManager.refreshCatalogs();
            }
            context.collectDocumentToValidate(d -> {
                DOMDocument xml = context.getDocument(d.getDocumentURI());
                xml.resetGrammar();
                return !documentURI.equals(d.getDocumentURI());
            });
        } else {
            this.updateSettings(context);
        }
    }
 -> java.lang.Class.isInstance(java.lang.Object): boolean -> java.lang.Class.cast(java.lang.Object): java.lang.Object -> java.util.List.size(): int -> java.util.Objects.equals(java.lang.Object,java.lang.Object): boolean -> java.lang.Boolean.booleanValue(): boolean
 [CALL] [CALL] [EXIT] [CALL] [CALL] [EXIT] [CALL] [CALL] -> java.lang.Class.isInstance(java.lang.Object): boolean -> java.lang.Class.cast(java.lang.Object): java.lang.Object [EXIT] [EXIT] [CALL] [CALL] [EXIT] [CALL] [EXIT] [CALL] [CALL] -> java.util.List.size(): int [CALL] [EXIT] -> java.util.Objects.equals(java.lang.Object,java.lang.Object): boolean [EXIT] [EXIT] [CALL] [EXIT] [CALL] [EXIT] -> java.lang.Boolean.booleanValue(): boolean [CALL] [CALL] [CALL] [EXIT] [EXIT] [CALL] [EXIT] [EXIT] [CALL] [EXIT] [CALL] [CALL] [CALL] [EXIT] [EXIT] [EXIT] [CALL] [EXIT] [CALL] [EXIT] [CALL] [EXIT] [EXIT] [EXIT] [EXIT]