private static ST findTemplateInGroup(String path, String name, STGroup group) {
        if (!group.isDefined(name)) {
            throw new IllegalStateException("No StringTemplate group " + name + " for path " + path);
        }

        return group.getInstanceOf(name);
    }
Locates SQL for the given type and name. Loads a StringTemplate group from the resource at the given path,
and returns the template with the given name from the group.

@param classLoader the classloader from which to load the resource.
@param path the resource path for the StringTemplate group.
@param name the template name within the StringTemplate group.
@return the located SQL.
stringtemplate4/src/main/java/org/jdbi/v3/stringtemplate4/StringTemplateSqlLocator.java