void (@NotNull ExtendableTextField textField, @NotNull Predicate<? super Macro> macroFilter, @Nullable Map<String, String> userMacros) { textField.addExtension(ExtendableTextComponent.Extension.create( AllIcons.General.InlineAdd, AllIcons.General.InlineAddHover, ExecutionBundle.message("insert.macros"), () -> show(textField, macroFilter, userMacros))); }