When we deprecate a configuration property, we add @DeprecatedConfigurationProperty to the getter along with a @Deprecated on the getter and setter. We don't do this consistently though. This is one example where the getter and setter don't have @Deprecated.