void (boolean hideLookup) { if (!myLookup.isLookupDisposed()) { Lookup lookup = LookupManager.getActiveLookup(myEditor); if (lookup != null && lookup != myLookup && ClientId.isCurrentlyUnderLocalId()) { LOG.error("lookup changed: " + lookup + "; " + this); } } myLookup.removeLookupListener(myLookupListener); finishCompletionProcess(true); CompletionServiceImpl.assertPhase(CompletionPhase.NoCompletion.getClass()); if (hideLookup) { myLookup.hideLookup(true); } }