assertEquals("foo", simpleAnnArray[0].val());
assertEquals("bar", simpleAnnArray[1].val());
}
public void testConstructorAnn8() {
final AnnotationReader reader = AnnotationReader.getReaderFor(Target.CONSTRUCTOR.getDeclaringClass());
Annotation annotation = reader.getAnnotation("test.TestAnnotations$Complex", Target.CONSTRUCTOR);
Class type = annotation.annotationType();
assertEquals(TestAnnotations.Complex.class, type);
TestAnnotations.Complex ann = (TestAnnotations.Complex)annotation;
assertEquals(111, ann.i());