I think I just hit a false positive. I have this line in my project, using Java 8 as my SDK, IntelliJ 2019.1 beta:
Integer myInteger = new Integer(parameter.getUnescapedDefaultValue());
parameter.getUnescapedDefaultValue() returns a
SonarLint flags it as a Code Smell due to rule
squid:CallToDeprecatedMethod; however, such constructor has been marked as
@Deprecated in Java 9 and still not marked as that in Java 8.
My project is linked to SonarCloud, and via the SonarCloud web interface I see no issues on that line.
Hope this helps