PsiElement (@NotNull PyClassType type, @NotNull String name, @Nullable PsiElement location, @NotNull PyResolveContext resolveContext) { final PyClass cls = type.getPyClass(); final PyClass skeleton = PyUserSkeletonsUtil.getUserSkeletonWithContext(cls, resolveContext.getTypeEvalContext()); if (skeleton != null) { return findClassMember(skeleton, name, type.isDefinition()); } return null; }