@Override
	public int getMaxReplaceLength(int currentIndex) {
		return Integer.MAX_VALUE;
	}
Gets the maximum number of bytes available for a new data type that 
will replace the current data type at the indicated index.
If there isn't a component with the indicated index, the max length 
will be determined by the lock mode.
Note: This method doesn't care whether there is a selection or not.

@param currentIndex index of the component in the union.
@return the maximum number of bytes that can be replaced
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/compositeeditor/UnionEditorModel.java