AnnotationReader extends ClassVisitor { @Override public AnnotationVisitor visitAnnotation(String paramString, boolean paramBoolean) { String annotationClassName = getAnnotationClassName(paramString); annotations.add(annotationClassName); return super.visitAnnotation(paramString, paramBoolean); } AnnotationReader(); @Override void visit(int paramInt1, int paramInt2, String paramString1, String paramString2,
			String paramString3, String[] paramArrayOfString); @Override AnnotationVisitor visitAnnotation(String paramString, boolean paramBoolean); boolean isAnnotationPresent(Class<? extends Annotation> annotation);  }
@Test public void testVisitAnnotation() throws Exception { annotationReader.visitAnnotation("/com/cognifide/slice/mapper/annotation/JcrProperty/", false); Assert.assertTrue(annotationReader.isAnnotationPresent(JcrProperty.class)); }