private static void showLookup(LookupImpl lookup, @Nullable Map<TemplateImpl, String> template2Argument) {
    lookup.addLookupListener(new MyLookupAdapter(template2Argument));
    lookup.refreshUi(false, true);
    lookup.showLookup();
  }
private static void showLookup(LookupImpl lookup, @Nullable Map<TemplateImpl, String> template2Argument)