Annotation ta = ec.getAnnotation();
assertNotNull(ta);
assertEquals("constructor", getValue(ta));
assertInstanceOf(ec.getAnnotatedElement(), Constructor.class, false);
Element<Annotation, Field> ef = getSingleton(env.classHasFieldAnnotatedWith(annotationName));
ta = ef.getAnnotation();
assertNotNull(ta);
assertEquals("field", getValue(ta));
assertInstanceOf(ef.getAnnotatedElement(), Field.class, false);