public static @Nullable Navigatable getNavigatable(@NotNull JTree tree, @Nullable TreePath path) {
    Function<? super TreePath, ? extends Navigatable> supplier = ClientProperty.get(tree, NAVIGATABLE_PROVIDER);
    return supplier == null ? getLastUserObject(Navigatable.class, path) : supplier.apply(path);
  }
public static @Nullable Navigatable getNavigatable(@NotNull JTree tree, @Nullable TreePath path)