PsiElementClassMember[] (@NotNull PsiClass clazz, PsiElementClassMember[] dialogMembers) { return Arrays.stream(dialogMembers) .filter(member -> member.getElement().getContainingClass() == clazz) .toArray(PsiElementClassMember[]::new); }