public @NotNull TemplateContextType getTemplateContextType(@NotNull Class<?> clazz) {
    LiveTemplateContext context = getLiveTemplateContext(clazz);
    if (context == null) throw new LiveTemplateContextNotFoundException("Unable to find LiveTemplateContext with class " + clazz);

    return context.getTemplateContextType();
  }
public @NotNull TemplateContextType getTemplateContextType(@NotNull Class<?> clazz)