@Override
	public Variable getVariableContaining(int offset) {
		Object key = Integer.valueOf(offset);
		int index = Collections.binarySearch(variables, key, StackVariableComparator.get());
		if (index >= 0) {
			return variables.get(index);
		}
		index = -index - 1;
		index = index - 1;
		if (index < 0) {
			return null;
		}
		Variable var = variables.get(index);
		int stackOffset = var.getStackOffset();
		if ((stackOffset + var.getLength()) > offset) {
			if (var.getDataType().isDeleted()) {
				variables.remove(index);
			}
			else {
				return var;
			}
		}
		return null;
	}
//	 * 
//	 * @see ghidra.program.model.listing.StackFrame#setParameterOffset(int)
//
Ghidra/Features/Base/src/main/java/ghidra/util/StackFrameImpl.java