Module java.base

Interface ModuleRequireInfo


public sealed interface ModuleRequireInfo
ModuleRequireInfo is a preview API of the Java platform.
Programs can only use ModuleRequireInfo when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
Models a single "requires" declaration in the ModuleAttributePREVIEW.
Since:
22