logDebugMessage(sourceWriter, "\"Calling client method: Controller["+controllerName+"], Method["+method.getName()+"]\"");
JType returnType = method.getReturnType().getErasedType();
boolean hasReturn = returnType != JPrimitiveType.VOID;
Validate annot = method.getAnnotation(Validate.class);
boolean mustValidade = annot != null;
if (mustValidade)
{
sourceWriter.println("try{");
String validateMethod = annot.value();
if (validateMethod == null || validateMethod.length() == 0)
{
String methodName = method.getName();
methodName = Character.toUpperCase(methodName.charAt(0)) + methodName.substring(1);
validateMethod = "validate"+ methodName;