@Conditional 包含执行器功能的最佳方法是什么?

What is the best way to @Conditional on the inclusion of the actuator feature?

我想让我们的一些自动配置 classes 以 class 路径上存在 SpringBoot 执行器功能为条件。

我应该针对哪个 class 编写我的 @ConditionalOnClass 注释?可能的候选人是:

选哪个都无所谓,只要打包在actuator JAR中即可(你说的类都是这样)