parameterAnnotations[i] = parameters[i].getAnnotations();
}
String methodURI = getRestURI(method, parameterAnnotations, method.getAnnotation(Path.class));
String httpMethod = HttpMethodHelper.getHttpMethod(method.getAnnotations(), false);
StateValidationModel validationModel = getStateValidationModel(method);
boolean isReadMethod = method.getAnnotation(GET.class) != null;
if (isReadMethod)
{
readMethods.add(methodURI);
}
else if (validationModel != null && !validationModel.equals(StateValidationModel.NO_VALIDATE))
{
updateMethods.add(methodURI);
}
RestMethodInfo methodInfo = new RestMethodInfo(method, parameterAnnotations, methodURI, httpMethod, validationModel, isReadMethod);