@Override
	public FieldLocation getFieldLocation(ListingField bf, BigInteger index, int fieldNum,
			ProgramLocation loc) {

		if (!(loc instanceof VariableLocFieldLocation)) {
			return null;
		}

		Object obj = bf.getProxy().getObject();
		if (obj instanceof Variable) {
			Variable sv = (Variable) obj;
			VariableLocFieldLocation varStorageLoc = (VariableLocFieldLocation) loc;
			if (varStorageLoc.isLocationFor(sv)) {
				return new FieldLocation(index, fieldNum, 0, varStorageLoc.getCharOffset());
			}
		}

		return null;
	}
Returns the string representing the offset.
@param offset the offset to get a string for
@return the offset string
Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/field/VariableLocFieldFactory.java