@Override
	public boolean isEquivalent(DataType dt) {
		if (!(dt instanceof StackFrameDataType stackDt) || function != stackDt.function) {
			throw new IllegalStateException("Expected the same function for supported use");
		}
		return wrappedStruct.isEquivalent(stackDt.wrappedStruct);
	}
Unsupported method.  Must use {@link StackFrameDataType#setName(int, String)}.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/stackeditor/StackFrameDataType.java