Ref<PyType> (@NotNull PsiElement resolved, @NotNull Context context) { if (resolved instanceof PyReferenceExpression && ((PyReferenceExpression)resolved).asQualifiedName() != null) { return getType((PyExpression)resolved, context); } return null; }