@Override
  public Ref<PyType> getReferenceType(@NotNull PsiElement target, @NotNull TypeEvalContext context, @Nullable PsiElement anchor) {
    if (PyiUtil.isInsideStub(target)) {
      return null;
    }
    if (target instanceof PyTargetExpression) {
      final PyTargetExpression targetSkeleton = PyUserSkeletonsUtil.getUserSkeletonWithContext((PyTargetExpression)target, context);
      if (targetSkeleton != null) {
        return PyTypeUtil.notNullToRef(context.getType(targetSkeleton));
      }
    }
    return null;
  }
@Override
  public Ref<PyType> getReferenceType(@NotNull PsiElement target, @NotNull TypeEvalContext context, @Nullable PsiElement anchor)