static List<SecurityInterceptor> createSecurityInterceptors(Method method, Class<?> clazz) {
        List<SecurityInterceptor> result = new ArrayList<>();

        if (isInterceptOnClassAnnotation(method.getModifiers())) {
            for (Class<? extends Annotation> ac
                    : getAutorizationAnnotationClasses()) {
                Annotation annotationOnClass = clazz.getAnnotation(ac);
                if (annotationOnClass != null) {
                    result.add(new SecurityInterceptor(annotationOnClass));
                }
            }
        }

        for (Class<? extends Annotation> ac
                : getAutorizationAnnotationClasses()) {
            Annotation annotation = method.getAnnotation(ac);
            if (annotation != null) {
                result.add(new SecurityInterceptor(annotation));
            }
        }

        return result;
    }
Create list of
{@link SecurityInterceptor}
instances for method. This method search all method and class annotations
and use annotation data for create interceptors.
<p>
This method considers only those annotations that have been declared in
the set through parameters of the method and class, regardless of the
inheritance or interface implementations

@param method
@param clazz
@return
support/cdi/src/main/java/org/apache/shiro/cdi/AopHelper.java