for (Annotation annotation : parameterAnnotationSet) {
if (annotation instanceof ExtensionRequestParameter) {
final ExtensionRequestParameter extensionRequestParameter = (ExtensionRequestParameter) annotation;
queryStringParameters.put(new HashMap<String, String>() {{
put(QUERY_STRING_PARAMETER_NAME, extensionRequestParameter.name());
put(QUERY_STRING_PARAMETER_DESCRIPTION, extensionRequestParameter.description());
}});
}
}
}
}