log.debug("In method " + m.getJavaMember().getName() + " with param type " + ap.getBaseType());
}
Class<?> intfClazz = m.getJavaMember().getDeclaringClass();
String methodName = m.getJavaMember().getName();
String routeId = intfClazz.getCanonicalName() + "." + methodName;
Routing routing = null;
if (m.isAnnotationPresent(Routing.class)) {
routing = m.getAnnotation(Routing.class);
} else {
log.debug("Routing not found on method " + m.getJavaMember().getName());
}
RouteType routeType = (routing == null) ? RouteType.BOTH : routing.value();
Route route = new RouteImpl(routeType).id(routeId);
boolean isResourced = m.isAnnotationPresent(Resource.class);
if (isResourced) {
Resource r = m.getAnnotation(Resource.class);
log.debug("Loading resource " + r.mappedName());