Uses of Interface
java.lang.classfile.CompoundElement
Package
Description
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing classfile attributes for the
java.lang.classfile
PREVIEW library.Provides specific components, transformations, and tools built on top of the
java.lang.classfile
PREVIEW library.-
Uses of CompoundElementPREVIEW in java.lang.classfilePREVIEW
Modifier and TypeInterfaceDescriptioninterface
Preview.Models a classfile.interface
Preview.Models the body of a method (theCode
attribute).interface
Preview.Models a field.interface
Preview.Models a method.Modifier and TypeMethodDescriptiondefault void
ClassFileBuilder.transform
(CompoundElementPREVIEW<E> model, ClassFileTransformPREVIEW<?, E, B> transform) Apply a transform to a model, directing results to this builder. -
Uses of CompoundElementPREVIEW in java.lang.classfile.attributePREVIEW
Modifier and TypeInterfaceDescriptioninterface
Preview.Models theCode
attribute 4.7.3, appears on non-native, non-abstract methods and contains the bytecode of the method body. -
Uses of CompoundElementPREVIEW in java.lang.classfile.componentsPREVIEW
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.