}
}
public String getMethodInvocation(String name, String target, String params) throws UnableToCompleteException {
TemplateCondition method = methods.get(name);
if (method == null) {
logger.log(Type.ERROR, "Method with name " + name + " not registered in this template");
throw new UnableToCompleteException();
}
String methodName = method.methodName();
//Commenting this out until we have a use case for it, and proper documentation
// if (target == null) {
// target = String.format("GWT.<%1$s>create(%1$s)", method.type().getName());
// }