</BUG>
for (Annotation annotation : annotatedElement.getAnnotations()) {
if (annotation instanceof FixedRequestParam) {
putFixedRequestParam(map, (FixedRequestParam) annotation);
} else if (annotation instanceof FixedRequestParams) {
<BUG>FixedRequestParams params = (FixedRequestParams) annotation;
</BUG>
for (FixedRequestParam paramValue : params.value()) {
putFixedRequestParam(map, paramValue);
}

Map<String, Object> map = Maps.newHashMap();
putRequestParams(map, restClientClass);
putRequestParams(map, method);
return Collections.unmodifiableMap(map);
}
private void putRequestParams(Map<String, Object> map, AnnotatedElement annotatedElement) {
for (Annotation annotation : annotatedElement.getAnnotations()) {
if (annotation instanceof FixedRequestParam) {
putFixedRequestParam(map, (FixedRequestParam) annotation);
} else if (annotation instanceof FixedRequestParams) {
val params = (FixedRequestParams) annotation;
for (FixedRequestParam paramValue : params.value()) {
putFixedRequestParam(map, paramValue);
