What I would like to do is loop through all of the classes that are extending a class i have called Cmd.
For instance, what I'd like to be able to do is something like this:
for (Class<?> c : classesExtendingSuperclass) {
cmds.put(c, c.getName());
}
Thanks.
Edit: I can't use reflections in my project, if I do it will complicate everything when using the program. I can't use Reflections due to the performance downsides in the project.