void (@NotNull JTree tree, @NotNull TreeVisitor visitor, @NotNull Consumer<? super TreePath> consumer) { promiseMakeVisibleOne(tree, visitor, path -> { expandPathWithDebug(tree, path); consumer.accept(path); }); }