public void setResolver(AnnotationResolver resolver) {
        this.resolver = resolver;
    }
Returns the {@code AnnotationResolver} to use to acquire annotations from intercepted
methods at runtime.  The annotation is then used by the {@link #getHandler handler} to
perform authorization logic.

@param resolver the {@code AnnotationResolver} to use to acquire annotations from intercepted
                methods at runtime.
@since 1.1
core/src/main/java/org/apache/shiro/aop/AnnotationMethodInterceptor.java