private @NotNull Collection<String> getRecentNames() {
      int size = recentTemplates.size();
      int resultSize = Math.min(FileTemplateManager.RECENT_TEMPLATES_SIZE, size);
      return recentTemplates.subList(size - resultSize, size);
    }
private @NotNull Collection<String> getRecentNames()