org_eclipse_lemminx_extensions_contentmodel_XMLValidationPoolCacheTest_java
org.eclipse.lemminx.extensions.xerces.LSPMessageFormatter
@Override
    public String formatMessage(Locale locale, String key, Object[] arguments) throws MissingResourceException {
        if (locale == null) {
            locale = Locale.getDefault();
        }
        if (locale != this.fLocale) {
            this.fResourceBundle = ResourceBundle.getBundle("org.apache.xerces.impl.msg.XMLSchemaMessages", locale);
            this.newResourceBundle = ResourceBundle.getBundle("XMLSchemaMessagesReformatted", locale);
            this.fLocale = locale;
        }
        boolean usedNewResourceBundle = false;
        String msg = null;
        if (this.newResourceBundle.containsKey(key)) {
            msg = this.newResourceBundle.getString(key);
            usedNewResourceBundle = true;
        } else {
            msg = this.fResourceBundle.getString(key);
        }
        if (arguments != null) {
            try {
                if (usedNewResourceBundle) {
                    arguments = LSPMessageFormatter.reformatSchemaArguments(XMLSchemaErrorCode.get(key), arguments);
                }
                msg = MessageFormat.format(msg, arguments);
            }
            catch (Exception e) {
                msg = this.fResourceBundle.getString("FormatFailed");
                msg = msg + " " + this.fResourceBundle.getString(key);
            }
        }
        if (msg == null) {
            msg = this.fResourceBundle.getString("BadMessageKey");
            throw new MissingResourceException(msg, "XMLSchemaMessages", key);
        }
        return msg;
    }
 -> java.util.Locale.getDefault(): java.util.Locale -> java.util.ResourceBundle.getBundle(java.lang.String,java.util.Locale): java.util.ResourceBundle -> java.util.ResourceBundle.getBundle(java.lang.String,java.util.Locale): java.util.ResourceBundle -> java.util.ResourceBundle.containsKey(java.lang.String): boolean -> java.util.ResourceBundle.getString(java.lang.String): java.lang.String -> java.text.MessageFormat.format(java.lang.String,java.lang.Object[]): java.lang.String
 [CALL] -> java.util.Locale.getDefault(): java.util.Locale -> java.util.ResourceBundle.getBundle(java.lang.String,java.util.Locale): java.util.ResourceBundle -> java.util.ResourceBundle.getBundle(java.lang.String,java.util.Locale): java.util.ResourceBundle -> java.util.ResourceBundle.containsKey(java.lang.String): boolean -> java.util.ResourceBundle.getString(java.lang.String): java.lang.String -> java.text.MessageFormat.format(java.lang.String,java.lang.Object[]): java.lang.String [EXIT]