private boolean allInOwnScopeComprehensions(@NotNull Collection<PsiElement> elements) {
    return StreamEx.of(elements).allMatch(this::isInOwnScopeComprehension);
  }
private boolean allInOwnScopeComprehensions(@NotNull Collection<PsiElement> elements)