org_eclipse_lemminx_extensions_contentmodel_XMLModelCompletionExtensionsTest_java
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl
protected void scanEntityReference() throws IOException, XNIException {
        String string = this.fEntityScanner.scanName();
        if (string == null) {
            this.reportFatalError("NameRequiredInReference", null);
            return;
        }
        if (!this.fEntityScanner.skipChar(59)) {
            this.reportFatalError("SemicolonRequiredInReference", new Object[]{string});
        }
        --this.fMarkupDepth;
        if (string == fAmpSymbol) {
            this.handleCharacter('&', fAmpSymbol);
        } else if (string == fLtSymbol) {
            this.handleCharacter('<', fLtSymbol);
        } else if (string == fGtSymbol) {
            this.handleCharacter('>', fGtSymbol);
        } else if (string == fQuotSymbol) {
            this.handleCharacter('\"', fQuotSymbol);
        } else if (string == fAposSymbol) {
            this.handleCharacter('\'', fAposSymbol);
        } else if (this.fEntityManager.isUnparsedEntity(string)) {
            this.reportFatalError("ReferenceToUnparsedEntity", new Object[]{string});
        } else {
            if (!this.fEntityManager.isDeclaredEntity(string)) {
                if (this.fIsEntityDeclaredVC) {
                    if (this.fValidation) {
                        this.fErrorReporter.reportError("http://www.w3.org/TR/1998/REC-xml-19980210", "EntityNotDeclared", new Object[]{string}, (short)1);
                    }
                } else {
                    this.reportFatalError("EntityNotDeclared", new Object[]{string});
                }
            }
            this.fEntityManager.startEntity(string, false);
        }
    }
 -> java.lang.System.arraycopy(java.lang.Object,int,java.lang.Object,int,int): void -> java.lang.String.intern(): java.lang.String -> java.lang.StringBuilder.append(char[],int,int): java.lang.StringBuilder
 [CALL] [CALL] [CALL] [EXIT] [CALL] [EXIT] [CALL] [EXIT] [CALL] [CALL] [EXIT] [CALL] [CALL] -> java.lang.System.arraycopy(java.lang.Object,int,java.lang.Object,int,int): void -> java.lang.String.intern(): java.lang.String [EXIT] [EXIT] [EXIT] [EXIT] [CALL] [EXIT] [CALL] [CALL] [EXIT] [CALL] [EXIT] [CALL] [CALL] -> java.lang.StringBuilder.append(char[],int,int): java.lang.StringBuilder [EXIT] [EXIT] [CALL] [EXIT] [EXIT] [EXIT]