org_eclipse_lemminx_extensions_contentmodel_XMLModelCompletionExtensionsTest_java
org.apache.xerces.impl.dtd.XMLDTDProcessor
@Override
    public void endDTD(Augmentations augmentations) throws XNIException {
        if (this.fDTDGrammar != null) {
            this.fDTDGrammar.endDTD(augmentations);
            if (this.fGrammarPool != null) {
                this.fGrammarPool.cacheGrammars("http://www.w3.org/TR/REC-xml", new Grammar[]{this.fDTDGrammar});
            }
        }
        if (this.fValidation) {
            String string;
            Map.Entry entry3;
            DTDGrammar dTDGrammar = this.fDTDGrammar != null ? this.fDTDGrammar : this.fGrammarBucket.getActiveGrammar();
            for (Map.Entry entry2 : this.fNDataDeclNotations.entrySet()) {
                String object = (String)entry2.getValue();
                if (dTDGrammar.getNotationDeclIndex(object) != -1) continue;
                entry3 = (String)entry2.getKey();
                this.fErrorReporter.reportError("http://www.w3.org/TR/1998/REC-xml-19980210", "MSG_NOTATION_NOT_DECLARED_FOR_UNPARSED_ENTITYDECL", new Object[]{entry3, object}, (short)1);
            }
            for (Map.Entry entry2 : this.fNotationEnumVals.entrySet()) {
                entry3 = (String)entry2.getKey();
                if (dTDGrammar.getNotationDeclIndex((String)((Object)entry3)) != -1) continue;
                string = (String)entry2.getValue();
                this.fErrorReporter.reportError("http://www.w3.org/TR/1998/REC-xml-19980210", "MSG_NOTATION_NOT_DECLARED_FOR_NOTATIONTYPE_ATTRIBUTE", new Object[]{string, entry3}, (short)1);
            }
            for (Map.Entry entry3 : this.fTableOfNOTATIONAttributeNames.entrySet()) {
                string = (String)entry3.getKey();
                int n = dTDGrammar.getElementDeclIndex(string);
                if (dTDGrammar.getContentSpecType(n) != 1) continue;
                String string2 = (String)entry3.getValue();
                this.fErrorReporter.reportError("http://www.w3.org/TR/1998/REC-xml-19980210", "NoNotationOnEmptyElement", new Object[]{string, string2}, (short)1);
            }
            this.fTableOfIDAttributeNames = null;
            this.fTableOfNOTATIONAttributeNames = null;
            if (this.fWarnOnUndeclaredElemdef) {
                this.checkDeclaredElements(dTDGrammar);
            }
        }
        if (this.fDTDHandler != null) {
            this.fDTDHandler.endDTD(augmentations);
        }
    }
 -> java.util.ArrayList.add(java.lang.Object): boolean -> java.util.ArrayList.add(java.lang.Object): boolean -> java.util.ArrayList.add(java.lang.Object): boolean -> java.util.ArrayList.add(java.lang.Object): boolean -> java.util.ArrayList.add(java.lang.Object): boolean -> java.util.ArrayList.add(java.lang.Object): boolean -> java.util.ArrayList.add(java.lang.Object): boolean -> java.util.ArrayList.add(java.lang.Object): boolean -> java.util.ArrayList.add(java.lang.Object): boolean -> java.util.ArrayList.add(java.lang.Object): boolean -> java.util.ArrayList.add(java.lang.Object): boolean
 [CALL] [CALL] [CALL] [EXIT] -> java.util.ArrayList.add(java.lang.Object): boolean -> java.util.ArrayList.add(java.lang.Object): boolean -> java.util.ArrayList.add(java.lang.Object): boolean -> java.util.ArrayList.add(java.lang.Object): boolean -> java.util.ArrayList.add(java.lang.Object): boolean -> java.util.ArrayList.add(java.lang.Object): boolean -> java.util.ArrayList.add(java.lang.Object): boolean -> java.util.ArrayList.add(java.lang.Object): boolean -> java.util.ArrayList.add(java.lang.Object): boolean -> java.util.ArrayList.add(java.lang.Object): boolean -> java.util.ArrayList.add(java.lang.Object): boolean [CALL] [EXIT] [EXIT] [EXIT]