void (@NotNull ExtendableTextField textField, @NotNull Predicate<? super Macro> macroFilter, Computable<Boolean> hasModule) { textField.addExtension(ExtendableTextComponent.Extension.create( AllIcons.General.InlineVariables, AllIcons.General.InlineVariablesHover, ExecutionBundle.message("insert.macros"), () -> show(textField, macroFilter, getPathMacros(hasModule.compute())))); }