private JPanel createTreePanel(boolean isIncoming, GTree tree) {
		JPanel panel = new JPanel(new BorderLayout());

		panel.add(
			new GLabel(
				isIncoming ? "Backward Taint Tree (in nodes)" : "Forward Taint Tree (out nodes)"),
			BorderLayout.NORTH);
		panel.add(tree, BorderLayout.CENTER);

		return panel;
	}
A variable used to restrict open-ended operations, like expanding all nodes or filtering.
Ghidra/Features/DecompilerDependent/src/main/java/ghidra/app/plugin/core/decompiler/taint/TaintSliceTreeProvider.java