SONARJAVA-353 Fix false positives on parameterized methods