@Override
	public ProgramLocation getProgramLocation(ProgramLocation rowObject, Settings settings,
			Program program, ServiceProvider serviceProvider) {

		String comment = getEOLComment(rowObject, program);
		if (comment != null) {
			return new EolCommentFieldLocation(program, rowObject.getAddress(), null, null, 0, 0,
				0);
		}
		return rowObject;
	}
This table column displays the Label for either the program location or the address
associated with a row in the table.
Ghidra/Features/Base/src/main/java/ghidra/util/table/field/EOLCommentTableColumn.java