private List<Function> getSourceFunctions(List<BSimMatchResult> resultsForAddress) {
		List<Function> functions = new ArrayList<>();
		for (BSimMatchResult bSimMatchResult : resultsForAddress) {
			Function remoteFunction = getRemoteFunction(bSimMatchResult);
			if (remoteFunction != null) {
				functions.add(remoteFunction);
			}
		}
		return functions;
	}
Generic task for applying information from a function match to the queried function
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/gui/search/results/apply/AbstractBSimApplyTask.java