PsiElement (@NotNull PyClassType type, @NotNull String name, @Nullable PsiElement location, @NotNull PyResolveContext resolveContext) { final Collection<PyCustomMember> members = getMembers(type, location, resolveContext.getTypeEvalContext()); return resolveMemberByName(members, name, type.getPyClass(), resolveContext); }