SONARJAVA-361 Fix a NPE when visiting constructors