private void registerStaticEvents() {
		for (Class<? extends PluginEvent> eventClass : pluginDescription.getEventsProduced()) {
			eventsProduced.add(eventClass);
			tool.registerEventProduced(eventClass);
		}
		for (Class<? extends PluginEvent> eventClass : pluginDescription.getEventsConsumed()) {
			eventsConsumed.add(eventClass);
			tool.addEventListener(eventClass, this);
		}
	}
Auto-registers any PluginEvents listed in the Plugin's description.
Ghidra/Framework/Project/src/main/java/ghidra/framework/plugintool/Plugin.java