It would be nice if users could listen for authorization events specific to the type of source: ```java @EventListener public void onEvent(AuthorizationDeniedEvent<MethodInvocation> event) { // ... } ``` One way this can be done is by having `AuthorizationDeniedEvent` and `AuthorizationGrantedEvent` implement `ResolvableTypeProvider`: ```java ResolvableType type = ResolvableType.forClassWithGenerics(getClass(), ResolvableType.forInstance(getObject())); ```