public FieldHeaderLocation getFieldHeaderLocation(Point p) {
		int row = getRow(p);
		if (row >= model.getNumRows()) {
			row = model.getNumRows() - 1;
		}

		int col = getCol(row, p.x);
		FieldFactory factory = null;
		if (row < model.getNumRows() && col < model.getNumFactorys(row)) {
			factory = model.getFactorys(row)[col];
		}
		return new FieldHeaderLocation(model, factory, row, col);

	}
Returns a FieldHeaderLocation for the given point
@param p the point to get a location for
@return the location
Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/format/FieldHeaderComp.java