boolean (@NotNull Element element) { String tag = element.getName(); // dirStrings must be replaced, so, we must not skip it if (tag.equals("findStrings") || tag.equals("replaceStrings")) { String component = FileStorageCoreUtil.findComponentName(element); return component != null && (component.equals("FindSettings") || component.equals("FindInProjectRecents")); } return false; }