Module java.base

Interface CodeBuilder.BlockCodeBuilder

All Superinterfaces:
ClassFileBuilderPREVIEW<CodeElementPREVIEW,CodeBuilderPREVIEW>, CodeBuilderPREVIEW, Consumer<CodeElementPREVIEW>
Enclosing interface:
CodeBuilderPREVIEW

public static sealed interface CodeBuilder.BlockCodeBuilder extends CodeBuilderPREVIEW
BlockCodeBuilder is a preview API of the Java platform.
Programs can only use BlockCodeBuilder when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
A builder for blocks of code.
Since:
22