'Java Module : Export Only Class or Interface

Is it possible to export only several selected classes/interfaces across different packages within the same module ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source