void (@NotNull CodeInsightSettings oldSettings, @NotNull CodeInsightSettings settings) { if (!oldSettings.equals(settings)) { Element newS = new Element("temp"); settings.writeExternal(newS); Assert.assertEquals("Code insight settings damaged", DEFAULT_SETTINGS_EXTERNALIZED, JDOMUtil.writeElement(newS)); } }