void (@NotNull JpsGlobal global, @NotNull Element componentTag) { JpsIntelliLangConfigurationImpl configuration = new JpsIntelliLangConfigurationImpl(); String annotationName = JDOMExternalizerUtil.readField(componentTag, PATTERN_ANNOTATION_NAME); if (annotationName != null) { configuration.setPatternAnnotationClassName(annotationName); } String instrumentationType = JDOMExternalizerUtil.readField(componentTag, INSTRUMENTATION_TYPE_NAME); if (instrumentationType != null) { try { configuration.setInstrumentationType(InstrumentationType.valueOf(instrumentationType)); } catch (IllegalArgumentException e) { LOG.info(e); } } JpsIntelliLangExtensionService.getInstance().setConfiguration(global, configuration); }