Update to sonar 4.4 api
Replaced deprecated functions after sonar 4.4 api update