public PluginEvent[] getLastEvents() {
		return lastEventsByType.values().toArray(new PluginEvent[lastEventsByType.size()]);
	}
Return an array of the last plugin events fired. EventManager maps the event class to the
last event fired.

@return array of plugin events
Ghidra/Framework/Project/src/main/java/ghidra/framework/plugintool/mgr/EventManager.java