@Nullable
  LocalQuickFix getCreateClassFix(@NonNls String refText, PsiElement element) {
    if (refText.length() > 2 && Character.isUpperCase(refText.charAt(0)) && !StringUtil.toUpperCase(refText).equals(refText)) {
      if (element instanceof PyQualifiedExpression) {
        PyExpression qualifier = ((PyQualifiedExpression)element).getQualifier();
        if (qualifier == null) {
          final PyFromImportStatement fromImport = PsiTreeUtil.getParentOfType(element, PyFromImportStatement.class);
          if (fromImport != null) qualifier = fromImport.getImportSource();
        }
        PsiFile destination = null;
        if (qualifier != null) {
          final PyType type = myTypeEvalContext.getType(qualifier);
          if (type instanceof PyModuleType) {
            destination = ((PyModuleType)type).getModule();
          }
          else {
            return null;
          }
        }
        if (destination == null) {
          InjectedLanguageManager injectionManager = InjectedLanguageManager.getInstance(element.getProject());
          PsiLanguageInjectionHost injectionHost = injectionManager.getInjectionHost(element);
          destination = ObjectUtils.chooseNotNull(injectionHost, element).getContainingFile();
        }
        return new CreateClassQuickFix(refText, destination);
      }
    }
    return null;
  }
@Nullable
  LocalQuickFix getCreateClassFix(@NonNls String refText, PsiElement element)