void () { //forcibly initialize configs to be able compare xmls after reset TreeUtil.treeNodeTraverser(myRoot).traverse().processEach(n -> { InspectionConfigTreeNode node = (InspectionConfigTreeNode)n; if (node instanceof InspectionConfigTreeNode.Tool && node.isProperSetting()) { ((InspectionConfigTreeNode.Tool)node).getDefaultDescriptor().loadConfig(); } return true; }); getProfile().resetToBase(getProject()); loadDescriptorsConfigs(true); postProcessModification(); updateModificationMarker(); myRoot.dropCache(); }