List<String> (@NotNull PyClass pyClass) { List<PsiNamedElement> members = ContainerUtil.concat(pyClass.getInstanceAttributes(), pyClass.getClassAttributes(), Arrays.asList(pyClass.getMethods())); return ContainerUtil.mapNotNull(members, expression -> expression.getName()); }