public ClassDoc[] getAnnotationClassDocValues(String qualifiedAnnotationType, String key) {
AnnotationDesc annotation = getAnnotation(qualifiedAnnotationType);
if (annotation == null) {
return null;
}
for (AnnotationDesc.ElementValuePair evp : annotation.elementValues()) {
if (evp.element().name().equals(key)) {
Object val = evp.value().value();
AnnotationValue[] vals = (AnnotationValue[]) val;
if (vals != null && vals.length > 0) {
ClassDoc[] res = new ClassDoc[vals.length];