public StackComponentWrapper setDataType(int ordinal, DataType dataType, int length)
			throws IndexOutOfBoundsException {
		StackComponentWrapper stackDtc = getComponent(ordinal);
		return replace(ordinal, dataType, length, stackDtc.getFieldName(), stackDtc.getComment());
	}
Sets a stack component/variable data type

@param ordinal the ordinal
@param dataType the data type
@param length the length or size of this variable.
@return the component representing this stack variable.
@throws IndexOutOfBoundsException if specified ordinal is out of range
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/stackeditor/StackFrameDataType.java