{
AnnotationValue[] annotationAnns = complexAnnotation.getAnnotationType().getAnnotations();
assertNotNull(annotationAnns);
checkExpectedAnnotations(annotationAnns, COMPLEXANNOTATION_EXPECTED_ANNOTATIONS);
Value value = complexAnnotation.getValue("stringValue");
checkStringValue(value, expectedComplexAnnotationData.stringAttribute);
value = complexAnnotation.getValue("intValue");
checkPrimitiveValue(value, "int", expectedComplexAnnotationData.intAttribute);