assertEquals(ReferencedByAnnotation.B,
((AnnotationWithEnum) TestApplication.annotation).value());
assertEquals(ReferencedByAnnotation.B,
((AnnotationWithEnum) TestApplication.getAnnotationWithEnum()).value());
// Just to verify that it doesn't crash
getActivity().getAnnotation2Value();
assertEquals(ReferencedByClassInAnnotation.class,
((AnnotationWithClass) TestApplication.annotation3).value());
// Just to verify that it doesn't crash
ReferencedByClassInAnnotation.A.get();