public static Collection<String> getNames(Collection<? extends PsiMember> psiMembers) {
    return psiMembers.stream().map(PsiMember::getName).collect(Collectors.toSet());
  }
public static Collection<String> getNames(Collection<? extends PsiMember> psiMembers)