AuthorizationObservationContext imports MethodInvocationResult. This can lead to a package tangle since overall, nothing otherwise in org.springframework.security.core.authorization refers to org.springframework.security.core.authorization.method classes.