@Override
  public boolean isAvailable(@NotNull Project project, Editor editor, @NotNull PsiFile file) {
    if (myClassesToImport.length == 0) return false;
    return isStillAvailable() && !getClassesToImport(true).isEmpty();
  }
@Override
  public boolean isAvailable(@NotNull Project project, Editor editor, @NotNull PsiFile file)