info.setName(method.getName());
info.setReturnType(method.getReturnType().getName());
Class paramsClasses[]=method.getParameterTypes();
for(int k=0; k<paramsClasses.length; k++)
{
info.addParameter(new ParameterInfo("param"+(k+1), paramsClasses[k].getName(), null));
}
if (whereType!=null)
info.addField(newField(WHERE_LOCATED_FIELD_NAME, whereType));
return info;
}