public static <T extends Enum<T>> EnumTemplate<T> enumTemplate(Class<? extends T> cl,
                                                                     String template, Object... args) {
        return enumTemplate(cl, createTemplate(template), Arrays.asList(args));
    }
Create a new Template expression

@param cl type of expression
@param template template
@param args template parameters
@return template expression
querydsl-core/src/main/java/com/querydsl/core/types/dsl/Expressions.java