SONARJAVA-787 Infered type should have unknown type associated during resolution