@SuppressWarnings("unchecked")
  public static <T extends TemplateContextType> @Nullable T getByClassOrNull(@NotNull Class<T> clazz) {
    LiveTemplateContext liveTemplateContext = LiveTemplateContextService.getInstance().getLiveTemplateContext(clazz);
    return liveTemplateContext != null ? (T)liveTemplateContext.getTemplateContextType() : null;
  }
@SuppressWarnings("unchecked")
  public static <T extends TemplateContextType> @Nullable T getByClassOrNull(@NotNull Class<T> clazz)