public static <T extends Plugin> T getPlugin(PluginTool tool, Class<T> c) {
		List<Plugin> list = tool.getManagedPlugins();
		for (Plugin p : list) {
			if (p.getClass() == c) {
				return c.cast(p);
			}
		}
		return null;
	}
Redo the last 'count' undone transactions on the domain object and wait for all events to be
flushed.

@param dobj The domain object upon which to perform the redo.
@param count number of transactions to redo
Ghidra/Features/Base/src/main/java/ghidra/test/AbstractGhidraHeadlessIntegrationTest.java