* @return the String value of the given annotation's parameter, or null if
* the parameter is not present on the annotation.
*/
static AnnotationValue getAnnotationParamValueWithoutDefaults(
Element target, CharSequence annotationQualifiedName, CharSequence paramName) {
AnnotationMirror templatedAnnotation = getAnnotation(target, annotationQualifiedName);
Map<? extends ExecutableElement, ? extends AnnotationValue> annotationParams = templatedAnnotation.getElementValues();
for (Map.Entry<? extends ExecutableElement, ? extends AnnotationValue> param : annotationParams.entrySet()) {
if (param.getKey().getSimpleName().contentEquals(paramName)) {
return param.getValue();
}
}