public FieldLocation getFieldLocation(ProgramLocation location) {

		// try to find a layout for an exact address first
		FieldLocation floc = getFieldLocation(location.getByteAddress(), location, false);
		if (floc != null) {
			return floc;
		}

		// try the code unit boundary address
		floc = getFieldLocation(location.getAddress(), location, false);
		if (floc != null) {
			return floc;
		}
		return getFieldLocation(location.getAddress(), location, true);
	}
Translates the given ProgramLocation into a FieldLocation.  Attempts to find a
field that can exactly find a match for the program location.  Otherwise, it
will return a fieldLocation to the default field or beginning of the line.
@param location the ProgramLocation to translate.
@return a FieldLocation for the ProgramLocation or null if none can be found.
Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/listingpanel/ListingModelAdapter.java