@Override
	public Variable[] getStackVariables() {
		synchronized (function) {
			loadStackVariables();
			if (variables.isEmpty()) {
				return emptyArray;
			}
			return variables.toArray(emptyArray);
		}
	}
@see ghidra.program.model.listing.StackFrame#getStackVariables()
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/oldfunction/OldStackFrameDB.java