public static Set<DockingActionIf> getActionsByOwnerAndName(Tool tool, String owner,
			String name) {
		Set<DockingActionIf> ownerActions = tool.getDockingActionsByOwnerName(owner);
		return ownerActions.stream()
				.filter(action -> action.getName().equals(name))
				.collect(Collectors.toSet());
	}
A helper method to find all actions by name, with the given owner's name (this will not
include reserved system actions)

@param tool the tool containing all system actions
@param owner the owner's name
@param name the owner's name to match
@return the matching actions; empty list if no matches
Ghidra/Framework/Docking/src/main/java/docking/test/AbstractDockingTest.java