fix incorrect addition of imports for:
- java constructors
- member completions