SONARJAVA-806 Constructor resolution