@Test public void renderWithSyntax() throws Exception { assertEquals("print result", localizationScriptService.render("key", Syntax.PLAIN_1_0)); assertEquals("print result", localizationScriptService .render(Arrays.asList(null, "not existing key", "key", "another key"), Syntax.PLAIN_1_0)); }
public String render(String key) { return render(key, (Collection<?>) null); }
LocalizationScriptService implements ScriptService { public String render(String key) { return render(key, (Collection<?>) null); } }
LocalizationScriptService implements ScriptService { public String render(String key) { return render(key, (Collection<?>) null); }  }
LocalizationScriptService implements ScriptService { public String render(String key) { return render(key, (Collection<?>) null); }  Translation get(String key); Translation get(String key, Locale locale); boolean use(String bundleType, String bundleId); Locale getCurrentLocale(); Locale toLocale(String str); String render(String key); String render(Collection<String> keys); String render(String key, Locale locale); String render(Collection<String> keys, Locale locale); String render(String key, Collection<?> parameters); String render(Collection<String> keys, Collection<?> parameters); String render(String key, Collection<?> parameters, Locale locale); String render(Collection<String> keys, Collection<?> parameters, Locale locale); String render(String key, Syntax syntax); String render(Collection<String> keys, Syntax syntax); String render(String key, Syntax syntax, Locale locale); String render(Collection<String> keys, Syntax syntax, Locale locale); String render(String key, Syntax syntax, Collection<?> parameters); String render(Collection<String> keys, Syntax syntax, Collection<?> parameters); String render(String key, Syntax syntax, Collection<?> parameters, Locale locale); String render(Collection<String> keys, Syntax syntax, Collection<?> parameters, Locale locale); Set<Locale> getAvailableLocales(); }
LocalizationScriptService implements ScriptService { public String render(String key) { return render(key, (Collection<?>) null); }  Translation get(String key); Translation get(String key, Locale locale); boolean use(String bundleType, String bundleId); Locale getCurrentLocale(); Locale toLocale(String str); String render(String key); String render(Collection<String> keys); String render(String key, Locale locale); String render(Collection<String> keys, Locale locale); String render(String key, Collection<?> parameters); String render(Collection<String> keys, Collection<?> parameters); String render(String key, Collection<?> parameters, Locale locale); String render(Collection<String> keys, Collection<?> parameters, Locale locale); String render(String key, Syntax syntax); String render(Collection<String> keys, Syntax syntax); String render(String key, Syntax syntax, Locale locale); String render(Collection<String> keys, Syntax syntax, Locale locale); String render(String key, Syntax syntax, Collection<?> parameters); String render(Collection<String> keys, Syntax syntax, Collection<?> parameters); String render(String key, Syntax syntax, Collection<?> parameters, Locale locale); String render(Collection<String> keys, Syntax syntax, Collection<?> parameters, Locale locale); Set<Locale> getAvailableLocales();  }