Fixed #393 NRE when generating tooltip signatures but the type isn't known