private static int getArrayBaseElementLength(Array arrayDt) {
		DataType dataType = arrayDt.getDataType();
		if (dataType instanceof Array) {
			return getArrayBaseElementLength((Array) dataType);
		}
		return arrayDt.getElementLength();
	}
Get the base data type for the specified data type stripping away pointers and arrays only. A
null will be returned for a default pointer.

@param dt the data type whose base data type is to be determined. 
@return the base data type (may be null for default pointer).
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/DataTypeUtilities.java