code: public static List<Route> collectRouteFromControllerAnnotations(Controller controller) {
          String prefix = getPath(controller);
          List<Route> routes = new ArrayList<>();
          Method[] methods = controller.getClass().getMethods();
          for (Method method : methods) {
              org.wisdom.api.annotations.Route annotation = method.getAnnotation(org.wisdom.api.annotations.Route.class);
              if (annotation != null) {
                  String uri = annotation.uri();
                  uri = getPrefixedUri(prefix, uri);
                  final Route route = new RouteBuilder().route(annotation.method())
                          .on(uri)
                          .to(controller, method)
                          .accepting(annotation.accepts())
                          .producing(annotation.produces());
                  routes.add(route);
              }
          }
          return routes;
      }
docs: Collects the @Route annotation on <em>action</em> method.
  This set will be added at the end of the list retrieved from the {@link org.wisdom.api
  .Controller#routes()}
  
  @param controller the controller
  @return the list of route, empty if none are available