assertEquals("hello", ann.value());
}
public void testConstructorAnn3() {
final AnnotationReader reader = AnnotationReader.getReaderFor(Target.CONSTRUCTOR.getDeclaringClass());
Annotation annotation = reader.getAnnotation("test.TestAnnotations$Simple", Target.CONSTRUCTOR);
Class type = annotation.annotationType();
assertEquals(TestAnnotations.Simple.class, type);
TestAnnotations.Simple ann = (TestAnnotations.Simple)annotation;
assertEquals("foo", ann.val());
assertEquals("bar", ann.s());