SONARDOTNT-375 Metrics such as lines of code are badly computed on generic classes