How can I list all required modules in Java9?
For system modules, this works:
ModuleFinder.ofSystem()
.findAll()
.stream()
...
however, not seeing atm how to get a list of the modules that my current code requires.
This question is about querying all the modules programatically. It's not about resolving modularity issues.