title: Get the Class objects for all classes in the module java.base
body: <p>How can I get the <code>Class</code> objects for all the classes in the module <code>java.base</code> programmatically? I'm open to using any external libraries. I have looked at the <a href="https://github.com/ronmamo/reflections" rel="nofollow noreferrer">Reflections</a> library but could not get a list of classes in the built-in Java Library, only classes on the classpath. I tried to manually do this by iterating through all the files in my file system, but (as far as I'm aware) I cannot get to the classes because they are inside a jar file. What would the code look like for getting all the <code>Class</code> objects for the classes in <code>java.base</code>?</p>
  <p>Thanks.</p>