private static PluginDescription createPluginDescriptionFromAnnotation(
			Class<? extends Plugin> c) {
		PluginInfo pia = c.getAnnotation(PluginInfo.class);
		return (pia != null) ? new PluginDescription(c, pia.packageName(), pia.category(),
			pia.shortDescription(), pia.description(), pia.status(), pia.isSlowInstallation(),
			Arrays.asList(pia.servicesRequired()), Arrays.asList(pia.servicesProvided()),
			Arrays.asList(pia.eventsConsumed()), Arrays.asList(pia.eventsProduced())) : null;
	}
Creates a {@link PluginDescription} using information gathered from annotations
present on the specified {@link Plugin}'s class.

@param c Plugin's class
@return new {@link PluginDescription} or null if no annotation info available
Ghidra/Framework/Project/src/main/java/ghidra/framework/plugintool/util/PluginDescription.java