assertEquals("foo", simple.val());
}
public void testConstructorAnn7() {
final AnnotationReader reader = AnnotationReader.getReaderFor(Target.CONSTRUCTOR.getDeclaringClass());
Annotation annotation = reader.getAnnotation("test.TestAnnotations$NestedAnnotationArray", Target.CONSTRUCTOR);
Class type = annotation.annotationType();
assertEquals(TestAnnotations.NestedAnnotationArray.class, type);
TestAnnotations.NestedAnnotationArray ann = (TestAnnotations.NestedAnnotationArray)annotation;
TestAnnotations.Simple[] simpleAnnArray = ann.annArr();
assertEquals("foo", simpleAnnArray[0].val());