Uses of Interface
java.lang.classfile.constantpool.ConstantPoolBuilder
Package
Description
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing classfile constant pool entries for the
java.lang.classfile
PREVIEW library.-
Uses of ConstantPoolBuilderPREVIEW in java.lang.classfilePREVIEW
Modifier and TypeMethodDescriptionBufWriter.constantPool()
Returns the constant pool builder associated with this buffer.ClassFileBuilder.constantPool()
Returns the constant pool builder associated with this builder.Modifier and TypeMethodDescriptionbyte[]
ClassFile.build
(ClassEntryPREVIEW thisClassEntry, ConstantPoolBuilderPREVIEW constantPool, Consumer<? super ClassBuilderPREVIEW> handler) Build a classfile into a byte array using the provided constant pool builder.default void
ClassFile.buildTo
(Path path, ClassEntryPREVIEW thisClassEntry, ConstantPoolBuilderPREVIEW constantPool, Consumer<? super ClassBuilderPREVIEW> handler) Build a classfile into a file using the provided constant pool builder. -
Uses of ConstantPoolBuilderPREVIEW in java.lang.classfile.constantpoolPREVIEW
Modifier and TypeMethodDescriptionstatic ConstantPoolBuilderPREVIEW
ConstantPoolBuilder.of()
Returns a new constant pool builder.static ConstantPoolBuilderPREVIEW
ConstantPoolBuilder.of
(ClassModelPREVIEW classModel) Returns a new constant pool builder.