" Found " + baseAnno.toString() + " without an array.");
List<Expression> realAnnos = null;
List<ICrystalAnnotation> crystalAnnos = new ArrayList<ICrystalAnnotation>();
if (baseAnno.isSingleMemberAnnotation()) {
SingleMemberAnnotation anno = (SingleMemberAnnotation)baseAnno;
if (!(anno.getValue() instanceof ArrayInitializer)) {
realAnnos = Collections.singletonList(anno.getValue());
}
else {
realAnnos = ((ArrayInitializer)anno.getValue()).expressions();
}
}
else if (baseAnno.isNormalAnnotation()) {
NormalAnnotation anno = (NormalAnnotation)baseAnno;
for (MemberValuePair pair : (List<MemberValuePair>)anno.values()) {
if (pair.getName().getIdentifier().equals("annos") && pair.getValue() instanceof ArrayInitializer) {
realAnnos = ((ArrayInitializer) pair.getValue()).expressions();
break;
}
}