# Uses of Enum Class
java.lang.classfile.components.ClassPrinter.Verbosity

Packages that use ClassPrinter.VerbosityPREVIEW
Package
Description
java.lang.classfile.components
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

  Methods in java.lang.classfile.componentsPREVIEW that return ClassPrinter.VerbosityPREVIEW
  Modifier and Type
  Method
  Description
  `static ClassPrinter.VerbosityPREVIEW`
  ClassPrinter.Verbosity.`valueOf(String name)`
  Returns 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.
  Methods in java.lang.classfile.componentsPREVIEW with parameters of type ClassPrinter.VerbosityPREVIEW
  Modifier and Type
  Method
  Description
  `static 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.