@Override
      public Ref<PyType> getType(TypeEvalContext context, @Nullable PsiElement anchor) {
        return createAssertionType(context.getType(target), suggestedType.apply(context), positive, transformToDefinition, context,
                                   typeElement);
      }
@Override
      public Ref<PyType> getType(TypeEvalContext context, @Nullable PsiElement anchor)