annotations = Annotations.getAnnotations(Target.METHOD);
}
public void testReadInResolvedValues() {
final AnnotationReader reader = AnnotationReader.getReaderFor(Target.METHOD.getDeclaringClass());
Annotation annotation = reader.getAnnotation("test.TestAnnotations$Complex", Target.METHOD);
TestAnnotations.Complex ann = (TestAnnotations.Complex)annotation;
assertEquals(111, ann.i());
double[] doubleArr = ann.doubleArr();
assertEquals(1.1D, doubleArr[0], 0);
assertEquals(2.2D, doubleArr[1], 0);