Object[] (String completionPrefix, PsiElement location, ProcessingContext context) { final List<Object> result = new ArrayList<>(); for (PyCustomMember member : myMembers) { result.add(LookupElementBuilder.create(member.getName())); } return result.toArray(); }