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 TypeInterfaceDescriptioninterfaceModels a classfile.interfaceModels the body of a method (theCodeattribute).interfaceModels a field.interfaceModels a method.Methods in java.lang.classfile with parameters of type CompoundElementModifier and TypeMethodDescriptiondefault BClassFileBuilder.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 TypeInterfaceDescriptioninterfaceModels theCodeattribute (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 voidClassPrinter.toJson(CompoundElement<?> model, ClassPrinter.Verbosity verbosity, Consumer<String> out) Prints provided model as structured text in JSON format.static ClassPrinter.MapNodeClassPrinter.toTree(CompoundElement<?> model, ClassPrinter.Verbosity verbosity) Exports provided model into a tree of printable nodes.static voidClassPrinter.toXml(CompoundElement<?> model, ClassPrinter.Verbosity verbosity, Consumer<String> out) Prints provided model as structured text in XML format.static voidClassPrinter.toYaml(CompoundElement<?> model, ClassPrinter.Verbosity verbosity, Consumer<String> out) Prints provided model as structured text in YAML format.