{
defaultVal = defaultValue.value();
}
QueryParam query;
HeaderParam header;
PathParam uriParam;
CookieParam cookie;
FormParam formParam;
if ((query = ClassUtils.findAnnotation(annotations, QueryParam.class)) != null)
{
return createParameterExtractorForSimpleType(RestParameterType.query, injectTargetClass, type, query.value(), defaultVal);
}
else if ((header = ClassUtils.findAnnotation(annotations, HeaderParam.class)) != null)
{
return createParameterExtractorForSimpleType(RestParameterType.header, injectTargetClass, type, header.value(), defaultVal);
}
else if ((formParam = ClassUtils.findAnnotation(annotations, FormParam.class)) != null)
{
return createParameterExtractorForSimpleType(RestParameterType.form, injectTargetClass, type, formParam.value(), defaultVal);
}