FreemarkerDirectiveHandler webTemplateDirective = m.getAnnotation(FreemarkerDirectiveHandler.class);
if (webTemplateDirective != null) {
registerFreemarkerDirective(targetObject, m, webTemplateDirective);
}
FreemarkerMethodHandler freemarkerMethodHandler = m.getAnnotation(FreemarkerMethodHandler.class);
if (freemarkerMethodHandler != null){
registerFreemarkerMethod(targetObject, m, freemarkerMethodHandler);
}
// --------- /Freemarker handlers --------- //