Dependency injection subsystems (Guice,CDI, Spring) tend to require annotation scanning. This should be able to iterate over implementation classes that are not exported. I could not find how you could iterate over the classes in a module. If there is no such way, how will CDI work with modules?