Uses of Interface
java.lang.classfile.constantpool.ConstantPoolBuilder
Packages that use ConstantPoolBuilderPREVIEW
Package
Description
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing classfile constant pool entries for the
java.lang.classfilePREVIEW library.-
Uses of ConstantPoolBuilderPREVIEW in java.lang.classfilePREVIEW
Methods in java.lang.classfilePREVIEW that return ConstantPoolBuilderPREVIEWModifier and TypeMethodDescriptionBufWriter.constantPool()Returns the constant pool builder associated with this buffer.ClassFileBuilder.constantPool()Returns the constant pool builder associated with this builder.Methods in java.lang.classfilePREVIEW with parameters of type ConstantPoolBuilderPREVIEWModifier 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 voidClassFile.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
Methods in java.lang.classfile.constantpoolPREVIEW that return ConstantPoolBuilderPREVIEWModifier and TypeMethodDescriptionstatic ConstantPoolBuilderPREVIEWConstantPoolBuilder.of()Returns a new constant pool builder.static ConstantPoolBuilderPREVIEWConstantPoolBuilder.of(ClassModelPREVIEW classModel) Returns a new constant pool builder.