PsiField[] (Collection<? extends MemberInfo> infos) { ArrayList<PsiField> list = new ArrayList<>(); for (MemberInfo info : infos) { list.add((PsiField)info.getMember()); } return list.toArray(PsiField.EMPTY_ARRAY); }