public static DataTypeComponent getDataTypeComponent(Program program, Address address,
			int[] componentPath) {
		Data data = program.getListing().getDataContaining(address);
		DataType dt = data.getDataType();
		DataTypeComponent comp = null;
		for (int i = 0; i < componentPath.length; i++) {
			if (!(dt instanceof Composite composite)) {
				return null;
			}
			comp = composite.getComponent(componentPath[i]);
			dt = comp.getDataType();
		}
		return comp;
	}
Finds the DataTypeComponent at an address and component path in a program.
@param program the program to look for a datatype component
@param address the address to look for a datatype component
@param componentPath the component path (an array of indexes into hierarchy of nested
datatypes)
@return The datatype component at that address and component path or null if there is
none at that location.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/util/DataTypeUtils.java