@RequiresReadLock
  public static @Nullable AddImportAction create(
    @NotNull Editor editor,
    @NotNull Module module,
    @NotNull PsiReference reference,
    @NotNull String className
  ) {
    Project project = module.getProject();
    return DumbService.getInstance(project).computeWithAlternativeResolveEnabled(() -> {
      GlobalSearchScope scope = GlobalSearchScope.moduleWithLibrariesScope(module);
      PsiClass aClass = JavaPsiFacade.getInstance(project).findClass(className, scope);
      if (aClass == null) return null;
      return new AddImportAction(project, reference, editor, aClass);
    });
  }
@RequiresReadLock
  public static @Nullable AddImportAction create(
    @NotNull Editor editor,
    @NotNull Module module,
    @NotNull PsiReference reference,
    @NotNull String className
  )