* @param param
* @return required
*/
private static boolean isRequired(AnnotatedParam param) {
boolean required = true;
Required requiredAnnotation = param.getAnnotation(Required.class);
if (requiredAnnotation != null) {
required = requiredAnnotation.value();
}
return required;
}