SONAR-5154 A plugin should fail when using classes JavaFile or JavaPackage