class AnnotatedMethodFilter implements TypeFilter {

    public boolean match(MetadataReader metadataReader,
            MetadataReaderFactory metadataReaderFactory) throws IOException {
        AnnotationMetadata annotationMetadata = metadataReader.getAnnotationMetadata();
        Set<MethodMetadata> annotatedMethods = annotationMetadata
                .getAnnotatedMethods(annotatedClass.getCanonicalName());
        return !annotatedMethods.isEmpty();
    }

    public  AnnotatedMethodFilter(Class<? extends Annotation> annotatedClass);

}