@Override
	public int[] getComponentPath() {
		if (path == null) {
			path = new int[level];
			int parentLevel = level - 1;
			path[parentLevel--] = indexInParent;

			Data parentData = parent;
			while (parentData instanceof DataComponent) {
				DataComponent dc = (DataComponent) parentData;
				path[parentLevel--] = dc.indexInParent;
				parentData = dc.parent;
			}
		}
		return path;
	}
Constructs a new {@link DataComponent} for an {@link Array} element.
@param codeMgr the code manager.
@param componentCache data component cache
@param address the address of the data component
@param addr the convert address long value
@param parent the DataDB object that contains this component.
@param array the array containing this component.
@param ordinal the array index for this component.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/code/DataComponent.java