void (@NotNull String facetTypeId, @Nullable DisabledAutodetectionByTypeElement element) { final DisabledAutodetectionByTypeElement old = findElement(facetTypeId); if (old != null) { myElements.remove(old); } if (element != null) { myElements.add(element); } }