public static <T extends Plugin> T addPlugin(PluginTool tool, Class<T> c)
			throws PluginException {

		tool.addPlugin(c.getName());
		return getPlugin(tool, c);
	}
Adds the given plugin to the tool and then returns the instance of the plugin that was
added

@param tool the tool
@param c the class of the plugin to add
@return the newly added plugin
@throws PluginException  if the plugin could not be constructed, or there was problem
		   executing its init() method, or if a plugin of this class already exists in the tool
Ghidra/Features/Base/src/main/java/ghidra/test/AbstractGhidraHeadedIntegrationTest.java