public HashMap < String , Object > getFunctions ( ClassModel classModel ) { HashMap < String , Object > result = newHashMap ( ) ; for ( String name : functions . keySet ( ) ) { result . put ( name , new TemplateFunction ( functions . get ( name ) , classModel ) ) ; } return result ; }
Return a freemarker model containing the user defined functions .