Interface ClassPrinter.MapNode
- All Superinterfaces:
ClassPrinter.NodePREVIEW
,Map<ConstantDesc,
ClassPrinter.NodePREVIEW>
- Enclosing class:
ClassPrinterPREVIEW
public static sealed interface ClassPrinter.MapNode
extends ClassPrinter.NodePREVIEW, Map<ConstantDesc,ClassPrinter.NodePREVIEW>
MapNode
is a preview API of the Java platform.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
A tree node holding
Map
of nested nodes.
Each Map.Entry.getKey()
== Map.Entry.getValue()
.ClassPrinter.Node.name()
PREVIEW.
- Since:
- 22
-
Nested Class Summary
-
Method Summary
Methods declared in interface java.lang.classfile.components.ClassPrinter.NodePREVIEW
name, toJson, toXml, toYaml, walk
Methods declared in interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
MapNode
when preview features are enabled.