Uses of Enum Class
java.lang.classfile.components.ClassPrinter.Verbosity
Package
Description
Provides specific components, transformations, and tools built on top of the
java.lang.classfile
PREVIEW library.-
Uses of ClassPrinter.VerbosityPREVIEW in java.lang.classfile.componentsPREVIEW
Modifier and TypeClassDescriptionstatic enum
Preview.Level of detail to print or export.Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ClassPrinter.VerbosityPREVIEW[]
ClassPrinter.Verbosity.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic void
ClassPrinter.toJson
(CompoundElementPREVIEW<?> model, ClassPrinter.VerbosityPREVIEW verbosity, Consumer<String> out) Prints provided model as structured text in JSON format.static ClassPrinter.MapNodePREVIEW
ClassPrinter.toTree
(CompoundElementPREVIEW<?> model, ClassPrinter.VerbosityPREVIEW verbosity) Exports provided model into a tree of printable nodes.static void
ClassPrinter.toXml
(CompoundElementPREVIEW<?> model, ClassPrinter.VerbosityPREVIEW verbosity, Consumer<String> out) Prints provided model as structured text in XML format.static void
ClassPrinter.toYaml
(CompoundElementPREVIEW<?> model, ClassPrinter.VerbosityPREVIEW verbosity, Consumer<String> out) Prints provided model as structured text in YAML format.