private boolean isAnnotationTarget(final SpringBeansTarget target, final AnnotatedBeanDefinition annotatedBeanDefinition) {
        for (String annotationName : target.getAnnotations()) {
            if (annotatedBeanDefinition.getMetadata().hasAnnotation(annotationName)) {
                // annotation.
                return true;
            }

            if (annotatedBeanDefinition.getMetadata().hasMetaAnnotation(annotationName)) {
                // meta annotation.
                return true;
            }
        }

        return false;
    }
@author Jongho Moon <jongho.moon@navercorp.com>
@author jaehong.kim
agent-module/plugins/spring/src/main/java/com/navercorp/pinpoint/plugin/spring/beans/interceptor/TargetBeanFilter.java