insert import when completing a class reference with existing generics on tab, replace the generics, if any