@Override
  public String expand(@NotNull DataContext dataContext) {
    Project project = CommonDataKeys.PROJECT.getData(dataContext);
    if (project == null) {
      return null;
    }

    JavadocGenerationManager manager = JavadocGenerationManager.getInstance(project);
    if (manager == null) {
      return null;
    }

    JavadocConfiguration configuration = manager.getConfiguration();
    return configuration.OUTPUT_DIRECTORY == null ? null : configuration.OUTPUT_DIRECTORY.replace('/', File.separatorChar);
  }
@Override
  public String expand(@NotNull DataContext dataContext)