3 ms·
This feels like something similar would almost be relevant in Java Platform Modules, since modules also have the ability to re-export classes that they've impor
by clhodapp 2y ago
This feels like something similar would almost be relevant in Java Platform Modules, since modules also have the ability to re-export classes that they've imported. However, there are some small limitations that would make it annoying to adopt this pattern: Having more than one version of the same classname available in different modules requires boilerplate and it's difficult to define over some of the classes of a module that your module imports.