private void update(@Nonnull WorkspaceTree tree) {
		WorkspaceTreeNode root = (WorkspaceTreeNode) tree.getRoot();
		if (root == null) return;

		ObjectProperty<Predicate<TreeItem<PathNode<?>>>> rootPredicate = root.predicateProperty();
		if (textField.getText().isEmpty()) {
			rootPredicate.set(null);
			currentPredicate.set(null);
		} else {
			Predicate<TreeItem<PathNode<?>>> matcher = this::match;
			rootPredicate.set(matcher);
			currentPredicate.set(matcher);
		}
	}
@return Text field for filtering by path names.
recaf-ui/src/main/java/software/coley/recaf/ui/control/tree/WorkspaceTreeFilterPane.java