public static final String CLOJURE_COMPILER_SETTINGS_FILE = "clojure_compiler.xml";
@NotNull
@Override
public List<? extends JpsProjectExtensionSerializer> getProjectExtensionSerializers() {
return Collections.singletonList(new JpsProjectExtensionSerializer(CLOJURE_COMPILER_SETTINGS_FILE, CLOJURE_COMPILER_SETTINGS_COMPONENT_NAME) {
@Override
public void loadExtension(@NotNull JpsProject jpsProject, @NotNull Element componentTag) {
JpsClojureCompilerSettingsState state = XmlSerializer.deserialize(componentTag, JpsClojureCompilerSettingsState.class);
if (state != null) {
JpsClojureExtensionService.setExtension(jpsProject, new JpsClojureCompilerSettingsExtensionImpl(state));