String[] (PsiNamedElement[] beforeMethods) { return Arrays.stream(beforeMethods).map(PsiNamedElement::getName) .filter(java.util.Objects::isNull).sorted(String.CASE_INSENSITIVE_ORDER).toArray(String[]::new); }