Spring Roo automatically generates CRUD methods for the controller. Can I add a custom annotation to one of the generated methods? Normally you would put it on top of the method but there are none to annotate.
@RequestMapping("/pizzas")
@Controller
@RooWebScaffold(path = "pizzas", formBackingObject = Pizza.class)
@RooWebJson(jsonObject = Pizza.class)
public class PizzaController {
}
You must to push-in the method and then you can modify it as needed.