code: @SuppressWarnings("unchecked")
      @Deprecated
      public static <T> TemplateExpression<T> template(Class<? extends T> cl, Template template, ImmutableList<?> args) {
          if (cl.equals(Boolean.class)) {
              return (TemplateExpression<T>) new PredicateTemplate(template, args);
          } else {
              return new TemplateExpressionImpl<T>(cl, template, args);
          }
      }
docs: Create a new Template expression
  
  @deprecated Use {@link #template(Class, Template, List)} instead.
  
  @param cl type of expression
  @param template template
  @param args template parameters
  @return template expression