@Module annotation

What do you guys think of having an annotation dedicated to creating plugins that can read “modules” or “extensions” from other JAR files and automatically make use of them?

It seems like a cool idea. Do you have an example on how it could be used?

Afraid not but the best example I think I could give would be Essentials for Bukkit.
So more of a @Plugin and @ChildPlugin sort of system I guess where everything - like checking dependencies and calling registerExtension(Plugin) in the parent plugin or something along those lines - is handled by the server.

In that case, it’s best to leave the parent plugin to decide how to handle and implement extensions or modules.