SONARJAVA-160 Better handling of fallback to deprecated properties