Annotation[] methodAnnotations = new Annotation[] {new OtherMDImpl("method")};
Annotation[] fieldAnnotations = new Annotation[] {new OtherMDImpl("field")};
setupMetaData(advisor, c, m, f, classAnnotations, ctorAnnotations, methodAnnotations, fieldAnnotations);
}
Some some = advisor.resolveTypedAnnotation(Some.class);
assertNotNull(some);
some = (Some)advisor.resolveAnnotation(Some.class);
assertNotNull(some);
Other other = advisor.resolveTypedAnnotation(Other.class);
assertNull(other);