PsiElement (@NotNull PyClassType type, @NotNull String name, @Nullable PsiElement location, @NotNull PyResolveContext resolveContext) { final PyClass cls = type.getPyClass(); final PsiElement pythonStub = PyiUtil.getPythonStub(cls); if (pythonStub instanceof PyClass) { return PyUserSkeletonsClassMembersProvider.findClassMember((PyClass)pythonStub, name, type.isDefinition()); } return null; }