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