private static boolean isComputedFlow(Program program, Reference ref) {
		Instruction instr = program.getListing().getInstructionAt(ref.getFromAddress());
		return instr != null && instr.getFlowType().isComputed();
	}
Returns the row number containing the specified reference or -1 if not
found.

@param ref reference to find
@return the row
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/references/EditReferencesModel.java