APIdia Launch Partner
Top Fields Constructors Methods
jdk.internal.classfile.impl

public final Class ChainedFieldBuilder

extends Object
implements FieldBuilder
Class Inheritance
All Implemented Interfaces
java.lang.classfile.FieldBuilder, java.lang.classfile.ClassFileBuilder, java.util.function.Consumer
Imports
java.lang.classfile.FieldBuilder, .FieldElement, java.lang.classfile.constantpool.ConstantPoolBuilder, java.util.function.Consumer

Field Summary

Modifier and TypeField and Description
private final Consumer<FieldElement>
private final TerminalFieldBuilder

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ConstantPoolBuilder
constantPool()

Implements java.lang.classfile.ClassFileBuilder.constantPool.

Returns the constant pool builder associated with this builder.

public FieldBuilder
with(FieldElement element)

Implements java.lang.classfile.ClassFileBuilder.with.

Integrates the member element into the structure being built.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

consumerback to summary
private final Consumer<FieldElement> consumer
terminalback to summary
private final TerminalFieldBuilder terminal

Constructor Detail

ChainedFieldBuilderback to summary
public ChainedFieldBuilder(FieldBuilder downstream, Consumer<FieldElement> consumer)

Method Detail

constantPoolback to summary
public ConstantPoolBuilder constantPool()

Implements java.lang.classfile.ClassFileBuilder.constantPool.

Doc from java.lang.classfile.ClassFileBuilder.constantPool.

Returns the constant pool builder associated with this builder.

Annotations
@Override
withback to summary
public FieldBuilder with(FieldElement element)

Implements java.lang.classfile.ClassFileBuilder.with.

Doc from java.lang.classfile.ClassFileBuilder.with.

Integrates the member element into the structure being built.

Annotations
@Override