A class that will wrap a reflected method call into a
freemarker.template.TemplateMethodModel interface.
It is used by
BeanModel to wrap reflected method calls
for non-overloaded methods.
author: Attila Szegedi, szegedia at users dot sourceforge dot net version: $Id: SimpleMethodModel.java,v 1.27 2005/06/11 12:12:04 szegedia Exp $
Constructor Summary
SimpleMethodModel(Object object, Method method, Class[] argTypes, BeansWrapper wrapper) Creates a model for a specific method on a specific object.
Parameters: object - the object to call the method on.
Creates a model for a specific method on a specific object.
Parameters: object - the object to call the method on. Can benull for static methods. Parameters: method - the method that will be invoked.