@Override
	public Set<Function> getFunctions() {
		Set<Function> functions = new HashSet<>();
		if (selection == null || selection.isEmpty()) {
			functions.add(getFunctionForLocation());
		}
		else {
			FunctionManager functionManager = program.getFunctionManager();
			FunctionIterator functionIter = functionManager.getFunctions(selection, true);
			for (Function selectedFunction : functionIter) {
				functions.add(selectedFunction);
			}
		}
		return functions;
	}
Returns the code unit containing the action's program location or null
@return the code unit containing the action's program location or null
Ghidra/Features/Base/src/main/java/ghidra/app/context/ProgramLocationActionContext.java