@Override
public Object intercept(Object obj, Method method, Object[] args, MethodProxy proxy) throws Throwable {
if (method.getAnnotation(Paginated.class) != null) {
final Paginated paginated = method.getAnnotation(Paginated.class);
routeDescriptor.parameters.remove(param(PaginationInfo.class));
routeDescriptor.addParameter(param(paginated.offsetParamName(), String.valueOf(paginated.defaultOffset()), String.class));
routeDescriptor.addParameter(param(paginated.limitParamName(), String.valueOf(paginated.defaultLimit()), String.class));
}
this.routeDescriptor.targetMethod = method;
this.routeDescriptor.args = args;
return null;