SONARJAVA-726 S1149 Fix false positives thanks to the semantic model