void (@NotNull NamedScopeDescriptor descriptor) { List<NamedScopesHolder> holders = getScopeHolders(); for (NamedScopesHolder holder : holders) { if (holder.getScope(descriptor.getName()) != null) return; } NamedScopesHolder projectScopeHolder = DependencyValidationManager.getInstance(getScopeHolderProject()); NamedScope newScope = projectScopeHolder.createScope(descriptor.getName(), descriptor.getFileSet()); projectScopeHolder.addScope(newScope); }