@Test public void should_have_correct_file_extensions() { MapSettings settings = new MapSettings(); settings.setProperty(TypeScriptLanguage.FILE_SUFFIXES_KEY, TypeScriptLanguage.FILE_SUFFIXES_DEFVALUE); TypeScriptLanguage typeScriptLanguage = new TypeScriptLanguage(settings.asConfig()); assertThat(typeScriptLanguage.getFileSuffixes()).containsExactly(".ts", ".tsx"); }
@Override public String[] getFileSuffixes() { return configuration.getStringArray(FILE_SUFFIXES_KEY); }
TypeScriptLanguage extends AbstractLanguage { @Override public String[] getFileSuffixes() { return configuration.getStringArray(FILE_SUFFIXES_KEY); } }
TypeScriptLanguage extends AbstractLanguage { @Override public String[] getFileSuffixes() { return configuration.getStringArray(FILE_SUFFIXES_KEY); } TypeScriptLanguage(Configuration configuration); }
TypeScriptLanguage extends AbstractLanguage { @Override public String[] getFileSuffixes() { return configuration.getStringArray(FILE_SUFFIXES_KEY); } TypeScriptLanguage(Configuration configuration); @Override String[] getFileSuffixes(); }
TypeScriptLanguage extends AbstractLanguage { @Override public String[] getFileSuffixes() { return configuration.getStringArray(FILE_SUFFIXES_KEY); } TypeScriptLanguage(Configuration configuration); @Override String[] getFileSuffixes(); static final String KEY; }