private MatchAction[] getMatchActions(FunctionStartAnalyzer funcStartAnalyzer,
			Pattern pattern) {
		ContextRegisterFilter cRegFilter = sequenceToCRegFilter.get(pattern);
		if (cRegFilter == null) {
			//no context registers to worry about, so the only MatchAction needed is
			//a FunctionStartAction
			MatchAction[] actions = new MatchAction[1];
			actions[0] = funcStartAnalyzer.new FunctionStartAction();
			return actions;
		}
		//there are context registers to worry about, so we need a FunctionStartAction
		//and a FunctionStartAnalyzer.ContextAction for each context register
		Map<String, BigInteger> regsToValues = cRegFilter.getValueMap();
		MatchAction[] actions = new MatchAction[1 + regsToValues.size()];
		actions[0] = funcStartAnalyzer.new FunctionStartAction();
		int matchIndex = 1;
		for (String register : regsToValues.keySet()) {
			BigInteger value = regsToValues.get(register);
			actions[matchIndex] = funcStartAnalyzer.new ContextAction(register, value);
			matchIndex++;
		}
		return actions;
	}
Class for building the pattern clipboard
@param plugin
Ghidra/Features/BytePatterns/src/main/java/ghidra/bitpatterns/gui/ClipboardPanel.java