private static @NotNull ActionCallback moveEnd(final @NotNull JTree tree) {
    return showRowCentred(tree, tree.getRowCount() - 1);
  }
private static @NotNull ActionCallback moveEnd(final @NotNull JTree tree)