@NotNull
  public Set<PostfixTemplate> getTemplates(@NotNull PostfixTemplateProvider provider) {
    return new HashSet<>(myTemplates.get(provider.getId()));
  }
@NotNull
  public Set<PostfixTemplate> getTemplates(@NotNull PostfixTemplateProvider provider)