void (LookupEx lookup, final int index) { final LookupElement item = lookup.getItems().get(index); lookup.setCurrentItem(item); StatisticsUpdate.collectStatisticChanges(item); StatisticsUpdate.applyLastCompletionStatisticsUpdate(); }