@Override
	public FieldLocation getFieldLocation(ListingField bf, BigInteger index, int fieldNum,
			ProgramLocation loc) {
		if (!(loc instanceof SubDataFieldLocation)) {
			return null;
		}

		SubDataFieldLocation subLoc = (SubDataFieldLocation) loc;

		if (!subLoc.getFieldName().equals(getFieldName())) {
			return null;
		}

		if (!hasSamePath(bf, loc)) {
			return null;
		}

		return getFieldLocation(index, fieldNum, bf, 0, subLoc.getCharOffset());
	}
Constructor
@param name the name of the field
@param path the component path for the data
Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/field/SubDataFieldFactory.java