Some other places in Spring are already using this approach, e.g. TransactionalOperatorExtensions