class AnnotationMethodsResolver {

        private final Class<? extends Annotation> annotationType;

        AnnotationMethodsResolver(Class<? extends Annotation> annotationType) {
            this.annotationType = annotationType;
        }

        boolean hasAnnotatedMethods(Class<?> clazz) {<FILL_FUNCTION_BODY>}
    }

            final AtomicBoolean found = new AtomicBoolean(false);
            ReflectionUtils.doWithMethods(clazz, (method) ->{
                if (found.get()) {
                    return;
                }
                Annotation annotation = AnnotationUtils.findAnnotation(method,
                        AnnotationMethodsResolver.this.annotationType);
                if (annotation != null) {
                    found.set(true);
                }
            });
            return found.get();
        
<methods>public void <init>() ,public org.springframework.aop.ClassFilter getClassFilter() ,public final org.springframework.aop.MethodMatcher getMethodMatcher() <variables>