use of com.intellij.codeInspection.ex.ApplicationInspectionProfileManager in project intellij-community by JetBrains.
the class DaemonCodeAnalyzerSettingsImpl method loadState.
@Override
public void loadState(Element state) {
XmlSerializer.deserializeInto(this, state);
ApplicationInspectionProfileManager inspectionProfileManager = ApplicationInspectionProfileManager.getInstanceImpl();
inspectionProfileManager.getConverter().storeEditorHighlightingProfile(state, new InspectionProfileImpl(InspectionProfileConvertor.OLD_HIGHTLIGHTING_SETTINGS_PROFILE));
inspectionProfileManager.setRootProfile(StringUtil.notNullize(state.getAttributeValue("profile"), "Default"));
}
Aggregations