void (final @NotNull String facetTypeId, final @NotNull String moduleName) { DisabledAutodetectionByTypeElement element = findElement(facetTypeId); if (element != null) { element.addDisabled(moduleName); } else { myElements.add(new DisabledAutodetectionByTypeElement(facetTypeId, moduleName)); } }