SONARDOTNT-324 Improve the line at which the violation is reported, especially when attributes are used