インタフェース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 void
ClassFile.buildTo
(Path path, ClassEntry thisClassEntry, ConstantPoolBuilder constantPool, Consumer<? super ClassBuilder> handler) 指定された定数プール・ビルダーを使用して、ファイル・システム内のファイルにclass
ファイルをビルドします。 -
java.lang.classfile.constantpoolでのConstantPoolBuilderの使用
修飾子と型メソッド説明static ConstantPoolBuilder
ConstantPoolBuilder.of()
新しい定数プール・ビルダーを返します。static ConstantPoolBuilder
ConstantPoolBuilder.of
(ClassModel classModel) 新しい定数プール・ビルダーを返します。