SONARJAVA-277 Apply to method parameter and deprecate Checkstyle rule