Class<?>[] paramTypes = method.getParameterTypes();
if (restRequestResource != null) {
// explicit service specified
if (restRequestResource.service() != ServiceValueConstants.DEFAULT_SERVICE_CLASS) {
handlerServiceClass = restRequestResource.service();
}
// explicit method name specified
if (StringUtils.hasText(restRequestResource.methodName())) {
methodName = restRequestResource.methodName();