SONARJAVA-727 Fix FP on unused method parameters by fixing overriding detection