void (@NotNull String baseDirUrl, @NotNull String pattern) { JpsElementCollection<JpsExcludePattern> child = myContainer.getChild(EXCLUDE_PATTERNS_ROLE); if (child != null) { for (JpsExcludePattern excludePattern : child.getElements()) { if (excludePattern.getBaseDirUrl().equals(baseDirUrl) && excludePattern.getPattern().equals(pattern)) { child.removeChild(excludePattern); } } } }