インタフェースjava.lang.classfile.constantpool.ConstantPoolBuilderの
使用
ConstantPoolBuilderを使用するパッケージ
-
java.lang.classfileでのConstantPoolBuilderの使用
修飾子と型メソッド説明BufWriter.constantPool()このバッファに関連付けられた定数プール・ビルダーを返します。ClassFileBuilder.constantPool()このビルダーに関連付けられた定数プール・ビルダーを返します。型ConstantPoolBuilderのパラメータを持つjava.lang.classfileのメソッド修飾子と型メソッド説明byte[]ClassFile.build(ClassEntry thisClassEntry, ConstantPoolBuilder constantPool, Consumer<? super ClassBuilder> handler) 指定された定数プール・ビルダーを使用して、classファイルをバイト配列に構築します。default voidClassFile.buildTo(Path path, ClassEntry thisClassEntry, ConstantPoolBuilder constantPool, Consumer<? super ClassBuilder> handler) 指定された定数プール・ビルダーを使用して、ファイル・システム内のファイルにclassファイルをビルドします。 -
java.lang.classfile.constantpoolでのConstantPoolBuilderの使用
修飾子と型メソッド説明static ConstantPoolBuilderConstantPoolBuilder.of()新しい定数プール・ビルダーを返します。static ConstantPoolBuilderConstantPoolBuilder.of(ClassModel classModel) 新しい定数プール・ビルダーを返します。