SONAR-926 Move JavaFile/JavaPackage to sonar deprecated and remove all usages of them