public void setRecurseDepth(int depth) {
		if (depth < 1) {
			return; // always have at least one level showing
		}

		int recurseDepth = callTreeOptions.getRecurseDepth();
		if (recurseDepth == depth) {
			return;
		}

		callTreeOptions = callTreeOptions.withRecurseDepth(depth);
		recurseIcon.setNumber(depth);

		doUpdate();
	}
A variable used to restrict open-ended operations, like expanding all nodes or filtering.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/calltree/CallTreeProvider.java