@NotNull
  private List<TemplateContextType> getApplicableContexts() {
    List<TemplateContextType> result = new ArrayList<>();
    for (TemplateContextType type : TemplateManagerImpl.getAllContextTypes()) {
      if (myContext.isEnabled(type)) {
        result.add(type);
      }
    }
    return result;
  }
@NotNull
  private List<TemplateContextType> getApplicableContexts()