@Override
  public @NotNull Collection<? extends @NotNull Renamer> createRenamers(@NotNull DataContext dataContext) {
    Project project = dataContext.getData(CommonDataKeys.PROJECT);
    if (project == null) {
      return Collections.emptyList();
    }

    if (!isAvailable(dataContext)) {
      return Collections.emptyList();
    }

    int eventCount = IdeEventQueue.getInstance().getEventCount();
    return ContainerUtil.map(
      RenameHandlerRegistry.getInstance().getRenameHandlers(dataContext),
      renameHandler -> new RenameHandler2Renamer(project, dataContext, renameHandler, eventCount)
    );
  }
@Override
  public @NotNull Collection<? extends @NotNull Renamer> createRenamers(@NotNull DataContext dataContext)