void (final @NotNull List<? super Pair<NamedScope, NamedScopesHolder>> scopeList, final @NotNull NamedScopesHolder holder) { for (NamedScope scope : holder.getScopes()) { scopeList.add(Pair.create(scope, holder)); } }