@Override
	public Variable[] getStackVariables() {
		function.manager.lock.acquire();
		try {
			checkIsValid();
			Variable[] temp = new Variable[variables.length];
			System.arraycopy(variables, 0, temp, 0, variables.length);
			return temp;
		}
		finally {
			function.manager.lock.release();
		}
	}
Construct a function stack frame.
@param function
@param variables
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/function/FunctionStackFrame.java