public static void setReferenceData(FunctionStartRowObject rowObject, Program program) {
		int numUnconditionalFlowRefs = 0;
		int numConditionalFlowRefs = 0;
		int numDataRefs = 0;
		ReferenceIterator refIter =
			program.getReferenceManager().getReferencesTo(rowObject.getAddress());
		while (refIter.hasNext()) {
			Reference ref = refIter.next();
			RefType type = ref.getReferenceType();
			if (type instanceof DataRefType) {
				numDataRefs++;
				continue;
			}
			if (type instanceof FlowType) {
				if (type.isConditional()) {
					numConditionalFlowRefs++;
				}
				else {
					numUnconditionalFlowRefs++;
				}
			}
		}
		rowObject.setNumDataRefs(numDataRefs);
		rowObject.setNumUnconditionalFlowRefs(numUnconditionalFlowRefs);
		rowObject.setNumConditionalFlowRefs(numConditionalFlowRefs);
	}
Determines and sets the number of data, conditional flow, and unconditional flow references
to the addresses corresponding to {@code rowObject}
@param rowObject row 
@param program source program
Ghidra/Extensions/MachineLearning/src/main/java/ghidra/machinelearning/functionfinding/FunctionStartRowObject.java