Ref<PyType> (@NotNull String contents, @NotNull PsiElement anchor, @NotNull Context context) { final PyExpression expr = toExpression(contents, anchor); return expr != null ? getType(expr, context) : null; }