Uses of Interface
java.lang.classfile.constantpool.ConstantPoolBuilder
Packages that use ConstantPoolBuilder
Package
Description
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing constant pool entries for the
java.lang.classfile library.-
Uses of ConstantPoolBuilder in java.lang.classfile
Methods in java.lang.classfile that return ConstantPoolBuilderModifier 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.classfile with parameters of type ConstantPoolBuilderModifier and TypeMethodDescriptionbyte[]ClassFile.build(ClassEntry thisClassEntry, ConstantPoolBuilder constantPool, Consumer<? super ClassBuilder> handler) Builds aclassfile into a byte array using the provided constant pool builder.default voidClassFile.buildTo(Path path, ClassEntry thisClassEntry, ConstantPoolBuilder constantPool, Consumer<? super ClassBuilder> handler) Builds aclassfile into a file in a file system using the provided constant pool builder. -
Uses of ConstantPoolBuilder in java.lang.classfile.constantpool
Methods in java.lang.classfile.constantpool that return ConstantPoolBuilderModifier and TypeMethodDescriptionstatic ConstantPoolBuilderConstantPoolBuilder.of()Returns a new constant pool builder.static ConstantPoolBuilderConstantPoolBuilder.of(ClassModel classModel) Returns a new constant pool builder.