Fixing quick fixes and content assist for Java types