Lines Matching defs:ann1
200 AnnotationWithException ann1, ann2;
202 ann1 = HolderE.class.getAnnotation(AnnotationWithException.class);
207 Assert.assertNotNull(ann1);
210 testEquals(ann1, ann2, true); // this throws AnnotationFormatError
249 AnnotationWithHashCode ann1, ann2;
251 ann1 = HolderF.class.getAnnotation(AnnotationWithHashCode.class);
256 Assert.assertNotNull(ann1);
259 testEquals(ann1, ann2, true); // this throws AnnotationFormatError
299 AnnotationWithDefaultMember ann1, ann2;
301 ann1 = HolderG.class.getAnnotation(AnnotationWithDefaultMember.class);
306 Assert.assertNotNull(ann1);
309 testEquals(ann1, ann2, true); // this throws AnnotationFormatError
407 private static void testEquals(Annotation ann1, Annotation ann2, boolean expectedEquals) {
411 boolean gotEquals = ann1.equals(ann2);
419 System.out.println("\n" + ann1 + ".equals(" + ann2 + ") = " + result);