@NotNull
    public static SQLTemplateStore createInstance(@NotNull ContextTypeRegistry registry) {
        
        return new SQLTemplateStore(registry, new CustomTemplatesStore());
    }
Creates SQLTemplateStore instance by the specified template context registry
plugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/templates/SQLTemplateStore.java