Can you find all classes in a package using reflection?
Due to the dynamic nature of class loaders, this is not possible. Class loaders are not required to tell the VM which classes it can provide, instead they are just handed requests for classes, and have to return a class or throw an exception. However, if you write your own class loaders, or examine the … Read more