Uses of Interface
java.lang.classfile.CompoundElement
Packages that use CompoundElement
Package
Description
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing classfile attributes for the
java.lang.classfile
library.Provides specific components, transformations, and tools built on top of the
java.lang.classfile
library.-
Uses of CompoundElement in java.lang.classfile
Subinterfaces of CompoundElement in java.lang.classfileModifier and TypeInterfaceDescriptioninterface
Models a classfile.interface
Models the body of a method (theCode
attribute).interface
Models a field.interface
Models a method.Methods in java.lang.classfile with parameters of type CompoundElementModifier and TypeMethodDescriptiondefault B
ClassFileBuilder.transform
(CompoundElement<E> model, ClassFileTransform<?, E, B> transform) Apply a transform to a model, directing results to this builder. -
Uses of CompoundElement in java.lang.classfile.attribute
Subinterfaces of CompoundElement in java.lang.classfile.attributeModifier and TypeInterfaceDescriptioninterface
Models theCode
attribute (JVMS 4.7.3), appears on non-native, non-abstract methods and contains the bytecode of the method body. -
Uses of CompoundElement in java.lang.classfile.components
Methods in java.lang.classfile.components with parameters of type CompoundElementModifier and TypeMethodDescriptionstatic void
ClassPrinter.toJson
(CompoundElement<?> model, ClassPrinter.Verbosity verbosity, Consumer<String> out) Prints provided model as structured text in JSON format.static ClassPrinter.MapNode
ClassPrinter.toTree
(CompoundElement<?> model, ClassPrinter.Verbosity verbosity) Exports provided model into a tree of printable nodes.static void
ClassPrinter.toXml
(CompoundElement<?> model, ClassPrinter.Verbosity verbosity, Consumer<String> out) Prints provided model as structured text in XML format.static void
ClassPrinter.toYaml
(CompoundElement<?> model, ClassPrinter.Verbosity verbosity, Consumer<String> out) Prints provided model as structured text in YAML format.