Module java.base

Interface ClassPrinter.LeafNode

All Superinterfaces:
ClassPrinter.NodePREVIEW
Enclosing class:
ClassPrinterPREVIEW

public static sealed interface ClassPrinter.LeafNode extends ClassPrinter.NodePREVIEW
LeafNode is a preview API of the Java platform.
Programs can only use LeafNode when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
A leaf node holding single printable value.
Since:
22