@Override protected SoyData computeFunctionHelper(
SoyJavaRuntimeFunction fn, List<SoyData> args, FunctionNode fnNode) {
if (! fn.getClass().isAnnotationPresent(SoyPureFunction.class)) {
throw new RenderException("Cannot preevaluate impure function.");
}
return super.computeFunctionHelper(fn, args, fnNode);
}