# Uses of Interface
java.lang.classfile.CodeBuilder

Packages that use CodeBuilderPREVIEW
Package
Description
java.lang.classfile
Provides classfile parsing, generation, and transformation library.
java.lang.classfile.components
Provides specific components, transformations, and tools built on top of the `java.lang.classfile`PREVIEW library.

- ## Uses of CodeBuilderPREVIEW in java.lang.classfilePREVIEW

  Subinterfaces of CodeBuilderPREVIEW in java.lang.classfilePREVIEW
  Modifier and Type
  Interface
  Description
  `static interface`
  `CodeBuilder.BlockCodeBuilderPREVIEW`
  Preview.
  A builder for blocks of code.
  Methods in java.lang.classfilePREVIEW that return CodeBuilderPREVIEW
  Modifier and Type
  Method
  Description
  `default CodeBuilderPREVIEW`
  CodeBuilder.`aaload()`
  Generate an instruction to load a reference from an array
  `default CodeBuilderPREVIEW`
  CodeBuilder.`aastore()`
  Generate an instruction to store into a reference array
  `default CodeBuilderPREVIEW`
  CodeBuilder.`aconst_null()`
  Generate an instruction pushing the null object reference onto the operand stack
  `default CodeBuilderPREVIEW`
  CodeBuilder.`aload(int slot)`
  Generate an instruction to load a reference from a local variable
  `default CodeBuilderPREVIEW`
  CodeBuilder.`anewarray(ClassEntryPREVIEW classEntry)`
  Generate an instruction to create a new array of reference
  `default CodeBuilderPREVIEW`
  CodeBuilder.`anewarray(ClassDesc className)`
  Generate an instruction to create a new array of reference
  `default CodeBuilderPREVIEW`
  CodeBuilder.`areturn()`
  Generate an instruction to return a reference from the method
  `default CodeBuilderPREVIEW`
  CodeBuilder.`arraylength()`
  Generate an instruction to get length of an array
  `default CodeBuilderPREVIEW`
  CodeBuilder.`arrayLoadInstruction(TypeKindPREVIEW tk)`
  Generate an instruction to load from an array
  `default CodeBuilderPREVIEW`
  CodeBuilder.`arrayStoreInstruction(TypeKindPREVIEW tk)`
  Generate an instruction to store into an array
  `default CodeBuilderPREVIEW`
  CodeBuilder.`astore(int slot)`
  Generate an instruction to store a reference into a local variable
  `default CodeBuilderPREVIEW`
  CodeBuilder.`athrow()`
  Generate an instruction to throw an exception or error
  `default CodeBuilderPREVIEW`
  CodeBuilder.`baload()`
  Generate an instruction to load a byte from a array
  `default CodeBuilderPREVIEW`
  CodeBuilder.`bastore()`
  Generate an instruction to store into a byte array
  `default CodeBuilderPREVIEW`
  CodeBuilder.`bipush(int b)`
  Generate an instruction pushing a byte onto the operand stack
  `default CodeBuilderPREVIEW`
  CodeBuilder.`block(Consumer<CodeBuilder.BlockCodeBuilderPREVIEW> handler)`
  Add a lexical block to the method being built.
  `default CodeBuilderPREVIEW`
  CodeBuilder.`branchInstruction(OpcodePREVIEW op, LabelPREVIEW target)`
  Generate a branch instruction
  `default CodeBuilderPREVIEW`
  CodeBuilder.`caload()`
  Generate an instruction to load a char from an array
  `default CodeBuilderPREVIEW`
  CodeBuilder.`castore()`
  Generate an instruction to store into a char array
  `default CodeBuilderPREVIEW`
  CodeBuilder.`characterRange(LabelPREVIEW startScope, LabelPREVIEW endScope, int characterRangeStart, int characterRangeEnd, int flags)`
  Declare a character range entry
  `default CodeBuilderPREVIEW`
  CodeBuilder.`checkcast(ClassEntryPREVIEW type)`
  Generate an instruction to check whether an object is of the given type
  `default CodeBuilderPREVIEW`
  CodeBuilder.`checkcast(ClassDesc type)`
  Generate an instruction to check whether an object is of the given type
  `default CodeBuilderPREVIEW`
  CodeBuilder.`constantInstruction(OpcodePREVIEW opcode, ConstantDesc value)`
  Generate an instruction pushing a constant onto the operand stack
  `default CodeBuilderPREVIEW`
  CodeBuilder.`constantInstruction(ConstantDesc value)`
  Generate an instruction pushing a constant onto the operand stack
  `default CodeBuilderPREVIEW`
  CodeBuilder.`convertInstruction(TypeKindPREVIEW fromType, TypeKindPREVIEW toType)`
  Generate a type converting instruction
  `default CodeBuilderPREVIEW`
  CodeBuilder.`d2f()`
  Generate an instruction to convert a double into a float
  `default CodeBuilderPREVIEW`
  CodeBuilder.`d2i()`
  Generate an instruction to convert a double into an int
  `default CodeBuilderPREVIEW`
  CodeBuilder.`d2l()`
  Generate an instruction to convert a double into a long
  `default CodeBuilderPREVIEW`
  CodeBuilder.`dadd()`
  Generate an instruction to add a double
  `default CodeBuilderPREVIEW`
  CodeBuilder.`daload()`
  Generate an instruction to load a double from an array
  `default CodeBuilderPREVIEW`
  CodeBuilder.`dastore()`
  Generate an instruction to store into a double array
  `default CodeBuilderPREVIEW`
  CodeBuilder.`dcmpg()`
  Generate an instruction to add a double
  `default CodeBuilderPREVIEW`
  CodeBuilder.`dcmpl()`
  Generate an instruction to compare doubles
  `default CodeBuilderPREVIEW`
  CodeBuilder.`dconst_0()`
  Generate an instruction pushing double constant 0 onto the operand stack
  `default CodeBuilderPREVIEW`
  CodeBuilder.`dconst_1()`
  Generate an instruction pushing double constant 1 onto the operand stack
  `default CodeBuilderPREVIEW`
  CodeBuilder.`ddiv()`
  Generate an instruction to divide doubles
  `default CodeBuilderPREVIEW`
  CodeBuilder.`dload(int slot)`
  Generate an instruction to load a double from a local variable
  `default CodeBuilderPREVIEW`
  CodeBuilder.`dmul()`
  Generate an instruction to multiply doubles
  `default CodeBuilderPREVIEW`
  CodeBuilder.`dneg()`
  Generate an instruction to negate a double
  `default CodeBuilderPREVIEW`
  CodeBuilder.`drem()`
  Generate an instruction to calculate double remainder
  `default CodeBuilderPREVIEW`
  CodeBuilder.`dreturn()`
  Generate an instruction to return a double from the method
  `default CodeBuilderPREVIEW`
  CodeBuilder.`dstore(int slot)`
  Generate an instruction to store a double into a local variable
  `default CodeBuilderPREVIEW`
  CodeBuilder.`dsub()`
  Generate an instruction to subtract doubles
  `default CodeBuilderPREVIEW`
  CodeBuilder.`dup()`
  Generate an instruction to duplicate the top operand stack value
  `default CodeBuilderPREVIEW`
  CodeBuilder.`dup_x1()`
  Generate an instruction to duplicate the top operand stack value and insert two values down
  `default CodeBuilderPREVIEW`
  CodeBuilder.`dup_x2()`
  Generate an instruction to duplicate the top operand stack value and insert two or three values down
  `default CodeBuilderPREVIEW`
  CodeBuilder.`dup2()`
  Generate an instruction to duplicate the top one or two operand stack value
  `default CodeBuilderPREVIEW`
  CodeBuilder.`dup2_x1()`
  Generate an instruction to duplicate the top one or two operand stack values and insert two or three values down
  `default CodeBuilderPREVIEW`
  CodeBuilder.`dup2_x2()`
  Generate an instruction to duplicate the top one or two operand stack values and insert two, three, or four values down
  `default CodeBuilderPREVIEW`
  CodeBuilder.`exceptionCatch(LabelPREVIEW start, LabelPREVIEW end, LabelPREVIEW handler, ClassEntryPREVIEW catchType)`
  Declare an exception table entry
  `default CodeBuilderPREVIEW`
  CodeBuilder.`exceptionCatch(LabelPREVIEW start, LabelPREVIEW end, LabelPREVIEW handler, ClassDesc catchType)`
  Declare an exception table entry
  `default CodeBuilderPREVIEW`
  CodeBuilder.`exceptionCatch(LabelPREVIEW start, LabelPREVIEW end, LabelPREVIEW handler, Optional<ClassEntryPREVIEW> catchType)`
  Declare an exception table entry
  `default CodeBuilderPREVIEW`
  CodeBuilder.`exceptionCatchAll(LabelPREVIEW start, LabelPREVIEW end, LabelPREVIEW handler)`
  Declare an exception table entry catching all exceptions and errors
  `default CodeBuilderPREVIEW`
  CodeBuilder.`f2d()`
  Generate an instruction to convert a float into a double
  `default CodeBuilderPREVIEW`
  CodeBuilder.`f2i()`
  Generate an instruction to convert a float into an int
  `default CodeBuilderPREVIEW`
  CodeBuilder.`f2l()`
  Generate an instruction to convert a float into a long
  `default CodeBuilderPREVIEW`
  CodeBuilder.`fadd()`
  Generate an instruction to add a float
  `default CodeBuilderPREVIEW`
  CodeBuilder.`faload()`
  Generate an instruction to load a float from an array
  `default CodeBuilderPREVIEW`
  CodeBuilder.`fastore()`
  Generate an instruction to store into a float array
  `default CodeBuilderPREVIEW`
  CodeBuilder.`fcmpg()`
  Generate an instruction to compare floats
  `default CodeBuilderPREVIEW`
  CodeBuilder.`fcmpl()`
  Generate an instruction to compare floats
  `default CodeBuilderPREVIEW`
  CodeBuilder.`fconst_0()`
  Generate an instruction pushing float constant 0 onto the operand stack
  `default CodeBuilderPREVIEW`
  CodeBuilder.`fconst_1()`
  Generate an instruction pushing float constant 1 onto the operand stack
  `default CodeBuilderPREVIEW`
  CodeBuilder.`fconst_2()`
  Generate an instruction pushing float constant 2 onto the operand stack
  `default CodeBuilderPREVIEW`
  CodeBuilder.`fdiv()`
  Generate an instruction to divide floats
  `default CodeBuilderPREVIEW`
  CodeBuilder.`fieldInstruction(OpcodePREVIEW opcode, FieldRefEntryPREVIEW ref)`
  Generate an instruction to access a field
  `default CodeBuilderPREVIEW`
  CodeBuilder.`fieldInstruction(OpcodePREVIEW opcode, ClassDesc owner, String name, ClassDesc type)`
  Generate an instruction to access a field
  `default CodeBuilderPREVIEW`
  CodeBuilder.`fload(int slot)`
  Generate an instruction to load a float from a local variable
  `default CodeBuilderPREVIEW`
  CodeBuilder.`fmul()`
  Generate an instruction to multiply floats
  `default CodeBuilderPREVIEW`
  CodeBuilder.`fneg()`
  Generate an instruction to negate a float
  `default CodeBuilderPREVIEW`
  CodeBuilder.`frem()`
  Generate an instruction to calculate floats remainder
  `default CodeBuilderPREVIEW`
  CodeBuilder.`freturn()`
  Generate an instruction to return a float from the method
  `default CodeBuilderPREVIEW`
  CodeBuilder.`fstore(int slot)`
  Generate an instruction to store a float into a local variable
  `default CodeBuilderPREVIEW`
  CodeBuilder.`fsub()`
  Generate an instruction to subtract floats
  `default CodeBuilderPREVIEW`
  CodeBuilder.`getfield(FieldRefEntryPREVIEW ref)`
  Generate an instruction to fetch field from an object
  `default CodeBuilderPREVIEW`
  CodeBuilder.`getfield(ClassDesc owner, String name, ClassDesc type)`
  Generate an instruction to fetch field from an object
  `default CodeBuilderPREVIEW`
  CodeBuilder.`getstatic(FieldRefEntryPREVIEW ref)`
  Generate an instruction to get static field from a class
  `default CodeBuilderPREVIEW`
  CodeBuilder.`getstatic(ClassDesc owner, String name, ClassDesc type)`
  Generate an instruction to get static field from a class
  `default CodeBuilderPREVIEW`
  CodeBuilder.`goto_(LabelPREVIEW target)`
  Generate an instruction to branch always
  `default CodeBuilderPREVIEW`
  CodeBuilder.`goto_w(LabelPREVIEW target)`
  Generate an instruction to branch always with wide index
  `default CodeBuilderPREVIEW`
  CodeBuilder.`i2b()`
  Generate an instruction to convert an int into a byte
  `default CodeBuilderPREVIEW`
  CodeBuilder.`i2c()`
  Generate an instruction to convert an int into a char
  `default CodeBuilderPREVIEW`
  CodeBuilder.`i2d()`
  Generate an instruction to convert an int into a double
  `default CodeBuilderPREVIEW`
  CodeBuilder.`i2f()`
  Generate an instruction to convert an int into a float
  `default CodeBuilderPREVIEW`
  CodeBuilder.`i2l()`
  Generate an instruction to convert an int into a long
  `default CodeBuilderPREVIEW`
  CodeBuilder.`i2s()`
  Generate an instruction to convert an int into a short
  `default CodeBuilderPREVIEW`
  CodeBuilder.`iadd()`
  Generate an instruction to add an int
  `default CodeBuilderPREVIEW`
  CodeBuilder.`iaload()`
  Generate an instruction to load a int from an array
  `default CodeBuilderPREVIEW`
  CodeBuilder.`iand()`
  Generate an instruction to calculate boolean AND of ints
  `default CodeBuilderPREVIEW`
  CodeBuilder.`iastore()`
  Generate an instruction to store into an int array
  `default CodeBuilderPREVIEW`
  CodeBuilder.`iconst_0()`
  Generate an instruction pushing int constant 0 onto the operand stack
  `default CodeBuilderPREVIEW`
  CodeBuilder.`iconst_1()`
  Generate an instruction pushing int constant 1 onto the operand stack
  `default CodeBuilderPREVIEW`
  CodeBuilder.`iconst_2()`
  Generate an instruction pushing int constant 2 onto the operand stack
  `default CodeBuilderPREVIEW`
  CodeBuilder.`iconst_3()`
  Generate an instruction pushing int constant 3 onto the operand stack
  `default CodeBuilderPREVIEW`
  CodeBuilder.`iconst_4()`
  Generate an instruction pushing int constant 4 onto the operand stack
  `default CodeBuilderPREVIEW`
  CodeBuilder.`iconst_5()`
  Generate an instruction pushing int constant 5 onto the operand stack
  `default CodeBuilderPREVIEW`
  CodeBuilder.`iconst_m1()`
  Generate an instruction pushing int constant -1 onto the operand stack
  `default CodeBuilderPREVIEW`
  CodeBuilder.`idiv()`
  Generate an instruction to divide ints
  `default CodeBuilderPREVIEW`
  CodeBuilder.`if_acmpeq(LabelPREVIEW target)`
  Generate an instruction to branch if int comparison succeeds
  `default CodeBuilderPREVIEW`
  CodeBuilder.`if_acmpne(LabelPREVIEW target)`
  Generate an instruction to branch if int comparison succeeds
  `default CodeBuilderPREVIEW`
  CodeBuilder.`if_icmpeq(LabelPREVIEW target)`
  Generate an instruction to branch if int comparison succeeds
  `default CodeBuilderPREVIEW`
  CodeBuilder.`if_icmpge(LabelPREVIEW target)`
  Generate an instruction to branch if int comparison succeeds
  `default CodeBuilderPREVIEW`
  CodeBuilder.`if_icmpgt(LabelPREVIEW target)`
  Generate an instruction to branch if int comparison succeeds
  `default CodeBuilderPREVIEW`
  CodeBuilder.`if_icmple(LabelPREVIEW target)`
  Generate an instruction to branch if int comparison succeeds
  `default CodeBuilderPREVIEW`
  CodeBuilder.`if_icmplt(LabelPREVIEW target)`
  Generate an instruction to branch if int comparison succeeds
  `default CodeBuilderPREVIEW`
  CodeBuilder.`if_icmpne(LabelPREVIEW target)`
  Generate an instruction to branch if int comparison succeeds
  `default CodeBuilderPREVIEW`
  CodeBuilder.`if_nonnull(LabelPREVIEW target)`
  Generate an instruction to branch if reference is not null
  `default CodeBuilderPREVIEW`
  CodeBuilder.`if_null(LabelPREVIEW target)`
  Generate an instruction to branch if reference is null
  `default CodeBuilderPREVIEW`
  CodeBuilder.`ifeq(LabelPREVIEW target)`
  Generate an instruction to branch if int comparison with zero succeeds
  `default CodeBuilderPREVIEW`
  CodeBuilder.`ifge(LabelPREVIEW target)`
  Generate an instruction to branch if int comparison with zero succeeds
  `default CodeBuilderPREVIEW`
  CodeBuilder.`ifgt(LabelPREVIEW target)`
  Generate an instruction to branch if int comparison with zero succeeds
  `default CodeBuilderPREVIEW`
  CodeBuilder.`ifle(LabelPREVIEW target)`
  Generate an instruction to branch if int comparison with zero succeeds
  `default CodeBuilderPREVIEW`
  CodeBuilder.`iflt(LabelPREVIEW target)`
  Generate an instruction to branch if int comparison with zero succeeds
  `default CodeBuilderPREVIEW`
  CodeBuilder.`ifne(LabelPREVIEW target)`
  Generate an instruction to branch if int comparison with zero succeeds
  `default CodeBuilderPREVIEW`
  CodeBuilder.`ifThen(OpcodePREVIEW opcode, Consumer<CodeBuilder.BlockCodeBuilderPREVIEW> thenHandler)`
  Add an "if-then" block that is conditional on the value(s) on top of the operand stack in accordance with the given opcode.
  `default CodeBuilderPREVIEW`
  CodeBuilder.`ifThen(Consumer<CodeBuilder.BlockCodeBuilderPREVIEW> thenHandler)`
  Add an "if-then" block that is conditional on the boolean value on top of the operand stack.
  `default CodeBuilderPREVIEW`
  CodeBuilder.`ifThenElse(OpcodePREVIEW opcode, Consumer<CodeBuilder.BlockCodeBuilderPREVIEW> thenHandler, Consumer<CodeBuilder.BlockCodeBuilderPREVIEW> elseHandler)`
  Add an "if-then-else" block that is conditional on the value(s) on top of the operand stack in accordance with the given opcode.
  `default CodeBuilderPREVIEW`
  CodeBuilder.`ifThenElse(Consumer<CodeBuilder.BlockCodeBuilderPREVIEW> thenHandler, Consumer<CodeBuilder.BlockCodeBuilderPREVIEW> elseHandler)`
  Add an "if-then-else" block that is conditional on the boolean value on top of the operand stack.
  `default CodeBuilderPREVIEW`
  CodeBuilder.`iinc(int slot, int val)`
  Generate an instruction to increment a local variable by a constant
  `default CodeBuilderPREVIEW`
  CodeBuilder.`iload(int slot)`
  Generate an instruction to load an int from a local variable
  `default CodeBuilderPREVIEW`
  CodeBuilder.`imul()`
  Generate an instruction to multiply ints
  `default CodeBuilderPREVIEW`
  CodeBuilder.`incrementInstruction(int slot, int val)`
  Generate an instruction to increment a local variable by a constant
  `default CodeBuilderPREVIEW`
  CodeBuilder.`ineg()`
  Generate an instruction to negate an int
  `default CodeBuilderPREVIEW`
  CodeBuilder.`instanceof_(ClassEntryPREVIEW target)`
  Generate an instruction to determine if an object is of the given type
  `default CodeBuilderPREVIEW`
  CodeBuilder.`instanceof_(ClassDesc target)`
  Generate an instruction to determine if an object is of the given type
  `default CodeBuilderPREVIEW`
  CodeBuilder.`invokedynamic(InvokeDynamicEntryPREVIEW ref)`
  Generate an instruction to invoke a dynamically-computed call site
  `default CodeBuilderPREVIEW`
  CodeBuilder.`invokedynamic(DynamicCallSiteDesc ref)`
  Generate an instruction to invoke a dynamically-computed call site
  `default CodeBuilderPREVIEW`
  CodeBuilder.`invokeDynamicInstruction(InvokeDynamicEntryPREVIEW ref)`
  Generate an instruction to invoke a dynamically-computed call site
  `default CodeBuilderPREVIEW`
  CodeBuilder.`invokeDynamicInstruction(DynamicCallSiteDesc desc)`
  Generate an instruction to invoke a dynamically-computed call site
  `default CodeBuilderPREVIEW`
  CodeBuilder.`invokeInstruction(OpcodePREVIEW opcode, MemberRefEntryPREVIEW ref)`
  Generate an instruction to invoke a method or constructor
  `default CodeBuilderPREVIEW`
  CodeBuilder.`invokeInstruction(OpcodePREVIEW opcode, ClassDesc owner, String name, MethodTypeDesc desc, boolean isInterface)`
  Generate an instruction to invoke a method or constructor
  `default CodeBuilderPREVIEW`
  CodeBuilder.`invokeinterface(InterfaceMethodRefEntryPREVIEW ref)`
  Generate an instruction to invoke an interface method
  `default CodeBuilderPREVIEW`
  CodeBuilder.`invokeinterface(ClassDesc owner, String name, MethodTypeDesc type)`
  Generate an instruction to invoke an interface method
  `default CodeBuilderPREVIEW`
  CodeBuilder.`invokespecial(InterfaceMethodRefEntryPREVIEW ref)`
  Generate an instruction to invoke an instance method; direct invocation of instance initialization methods and methods of the current class and its supertypes
  `default CodeBuilderPREVIEW`
  CodeBuilder.`invokespecial(MethodRefEntryPREVIEW ref)`
  Generate an instruction to invoke an instance method; direct invocation of instance initialization methods and methods of the current class and its supertypes
  `default CodeBuilderPREVIEW`
  CodeBuilder.`invokespecial(ClassDesc owner, String name, MethodTypeDesc type)`
  Generate an instruction to invoke an instance method; direct invocation of instance initialization methods and methods of the current class and its supertypes
  `default CodeBuilderPREVIEW`
  CodeBuilder.`invokespecial(ClassDesc owner, String name, MethodTypeDesc type, boolean isInterface)`
  Generate an instruction to invoke an instance method; direct invocation of instance initialization methods and methods of the current class and its supertypes
  `default CodeBuilderPREVIEW`
  CodeBuilder.`invokestatic(InterfaceMethodRefEntryPREVIEW ref)`
  Generate an instruction to invoke a class (static) method
  `default CodeBuilderPREVIEW`
  CodeBuilder.`invokestatic(MethodRefEntryPREVIEW ref)`
  Generate an instruction to invoke a class (static) method
  `default CodeBuilderPREVIEW`
  CodeBuilder.`invokestatic(ClassDesc owner, String name, MethodTypeDesc type)`
  Generate an instruction to invoke a class (static) method
  `default CodeBuilderPREVIEW`
  CodeBuilder.`invokestatic(ClassDesc owner, String name, MethodTypeDesc type, boolean isInterface)`
  Generate an instruction to invoke a class (static) method
  `default CodeBuilderPREVIEW`
  CodeBuilder.`invokevirtual(MethodRefEntryPREVIEW ref)`
  Generate an instruction to invoke an instance method; dispatch based on class
  `default CodeBuilderPREVIEW`
  CodeBuilder.`invokevirtual(ClassDesc owner, String name, MethodTypeDesc type)`
  Generate an instruction to invoke an instance method; dispatch based on class
  `default CodeBuilderPREVIEW`
  CodeBuilder.`ior()`
  Generate an instruction to calculate boolean OR of ints
  `default CodeBuilderPREVIEW`
  CodeBuilder.`irem()`
  Generate an instruction to calculate ints remainder
  `default CodeBuilderPREVIEW`
  CodeBuilder.`ireturn()`
  Generate an instruction to return an int from the method
  `default CodeBuilderPREVIEW`
  CodeBuilder.`ishl()`
  Generate an instruction to shift an int left
  `default CodeBuilderPREVIEW`
  CodeBuilder.`ishr()`
  Generate an instruction to shift an int right
  `default CodeBuilderPREVIEW`
  CodeBuilder.`istore(int slot)`
  Generate an instruction to store an int into a local variable
  `default CodeBuilderPREVIEW`
  CodeBuilder.`isub()`
  Generate an instruction to subtract ints
  `default CodeBuilderPREVIEW`
  CodeBuilder.`iushr()`
  Generate an instruction to logical shift an int right
  `default CodeBuilderPREVIEW`
  CodeBuilder.`ixor()`
  Generate an instruction to calculate boolean XOR of ints
  `default CodeBuilderPREVIEW`
  CodeBuilder.`l2d()`
  Generate an instruction to convert a long into a double
  `default CodeBuilderPREVIEW`
  CodeBuilder.`l2f()`
  Generate an instruction to convert a long into a float
  `default CodeBuilderPREVIEW`
  CodeBuilder.`l2i()`
  Generate an instruction to convert a long into an int
  `default CodeBuilderPREVIEW`
  CodeBuilder.`labelBinding(LabelPREVIEW label)`
  Bind label with current position
  `default CodeBuilderPREVIEW`
  CodeBuilder.`ladd()`
  Generate an instruction to add a long
  `default CodeBuilderPREVIEW`
  CodeBuilder.`laload()`
  Generate an instruction to load a long from an array
  `default CodeBuilderPREVIEW`
  CodeBuilder.`land()`
  Generate an instruction to calculate boolean AND of longs
  `default CodeBuilderPREVIEW`
  CodeBuilder.`lastore()`
  Generate an instruction to store into a long array
  `default CodeBuilderPREVIEW`
  CodeBuilder.`lcmp()`
  Generate an instruction to compare longs
  `default CodeBuilderPREVIEW`
  CodeBuilder.`lconst_0()`
  Generate an instruction pushing long constant 0 onto the operand stack
  `default CodeBuilderPREVIEW`
  CodeBuilder.`lconst_1()`
  Generate an instruction pushing long constant 1 onto the operand stack
  `default CodeBuilderPREVIEW`
  CodeBuilder.`ldc(LoadableConstantEntryPREVIEW entry)`
  Generate an instruction pushing an item from the run-time constant pool onto the operand stack
  `default CodeBuilderPREVIEW`
  CodeBuilder.`ldc(ConstantDesc value)`
  Generate an instruction pushing an item from the run-time constant pool onto the operand stack
  `default CodeBuilderPREVIEW`
  CodeBuilder.`ldiv()`
  Generate an instruction to divide longs
  `default CodeBuilderPREVIEW`
  CodeBuilder.`lineNumber(int line)`
  Declare a source line number of the current builder position
  `default CodeBuilderPREVIEW`
  CodeBuilder.`lload(int slot)`
  Generate an instruction to load a long from a local variable
  `default CodeBuilderPREVIEW`
  CodeBuilder.`lmul()`
  Generate an instruction to multiply longs
  `default CodeBuilderPREVIEW`
  CodeBuilder.`lneg()`
  Generate an instruction to negate a long
  `default CodeBuilderPREVIEW`
  CodeBuilder.`loadInstruction(TypeKindPREVIEW tk, int slot)`
  Generate an instruction to load a value from a local variable
  `default CodeBuilderPREVIEW`
  CodeBuilder.`localVariable(int slot, Utf8EntryPREVIEW nameEntry, Utf8EntryPREVIEW descriptorEntry, LabelPREVIEW startScope, LabelPREVIEW endScope)`
  Declare a local variable entry
  `default CodeBuilderPREVIEW`
  CodeBuilder.`localVariable(int slot, String name, ClassDesc descriptor, LabelPREVIEW startScope, LabelPREVIEW endScope)`
  Declare a local variable entry
  `default CodeBuilderPREVIEW`
  CodeBuilder.`localVariableType(int slot, Utf8EntryPREVIEW nameEntry, Utf8EntryPREVIEW signatureEntry, LabelPREVIEW startScope, LabelPREVIEW endScope)`
  Declare a local variable type entry
  `default CodeBuilderPREVIEW`
  CodeBuilder.`localVariableType(int slot, String name, SignaturePREVIEW signature, LabelPREVIEW startScope, LabelPREVIEW endScope)`
  Declare a local variable type entry
  `default CodeBuilderPREVIEW`
  CodeBuilder.`lookupswitch(LabelPREVIEW defaultTarget, List<SwitchCasePREVIEW> cases)`
  Generate an instruction to access a jump table by key match and jump
  `default CodeBuilderPREVIEW`
  CodeBuilder.`lookupSwitchInstruction(LabelPREVIEW defaultTarget, List<SwitchCasePREVIEW> cases)`
  Generate an instruction to access a jump table by key match and jump
  `default CodeBuilderPREVIEW`
  CodeBuilder.`lor()`
  Generate an instruction to calculate boolean OR of longs
  `default CodeBuilderPREVIEW`
  CodeBuilder.`lrem()`
  Generate an instruction to calculate longs remainder
  `default CodeBuilderPREVIEW`
  CodeBuilder.`lreturn()`
  Generate an instruction to return a long from the method
  `default CodeBuilderPREVIEW`
  CodeBuilder.`lshl()`
  Generate an instruction to shift a long left
  `default CodeBuilderPREVIEW`
  CodeBuilder.`lshr()`
  Generate an instruction to shift a long right
  `default CodeBuilderPREVIEW`
  CodeBuilder.`lstore(int slot)`
  Generate an instruction to store a long into a local variable
  `default CodeBuilderPREVIEW`
  CodeBuilder.`lsub()`
  Generate an instruction to subtract longs
  `default CodeBuilderPREVIEW`
  CodeBuilder.`lushr()`
  Generate an instruction to logical shift a long left
  `default CodeBuilderPREVIEW`
  CodeBuilder.`lxor()`
  Generate an instruction to calculate boolean XOR of longs
  `default CodeBuilderPREVIEW`
  CodeBuilder.`monitorenter()`
  Generate an instruction to enter monitor for an object
  `default CodeBuilderPREVIEW`
  CodeBuilder.`monitorexit()`
  Generate an instruction to exit monitor for an object
  `default CodeBuilderPREVIEW`
  CodeBuilder.`monitorInstruction(OpcodePREVIEW opcode)`
  Generate a monitor instruction
  `default CodeBuilderPREVIEW`
  CodeBuilder.`multianewarray(ClassEntryPREVIEW array, int dims)`
  Generate an instruction to create a new multidimensional array
  `default CodeBuilderPREVIEW`
  CodeBuilder.`multianewarray(ClassDesc array, int dims)`
  Generate an instruction to create a new multidimensional array
  `default CodeBuilderPREVIEW`
  CodeBuilder.`new_(ClassEntryPREVIEW clazz)`
  Generate an instruction to create a new object
  `default CodeBuilderPREVIEW`
  CodeBuilder.`new_(ClassDesc clazz)`
  Generate an instruction to create a new object
  `default CodeBuilderPREVIEW`
  CodeBuilder.`newarray(TypeKindPREVIEW typeKind)`
  Generate an instruction to create a new array of a primitive type
  `default CodeBuilderPREVIEW`
  CodeBuilder.`newMultidimensionalArrayInstruction(int dimensions, ClassEntryPREVIEW type)`
  Generate an instruction to create a new multidimensional array
  `default CodeBuilderPREVIEW`
  CodeBuilder.`newMultidimensionalArrayInstruction(int dimensions, ClassDesc type)`
  Generate an instruction to create a new multidimensional array
  `default CodeBuilderPREVIEW`
  CodeBuilder.`newObjectInstruction(ClassEntryPREVIEW type)`
  Generate an instruction to create a new object
  `default CodeBuilderPREVIEW`
  CodeBuilder.`newObjectInstruction(ClassDesc type)`
  Generate an instruction to create a new object
  `default CodeBuilderPREVIEW`
  CodeBuilder.`newPrimitiveArrayInstruction(TypeKindPREVIEW typeKind)`
  Generate an instruction to create a new array of a primitive type
  `default CodeBuilderPREVIEW`
  CodeBuilder.`newReferenceArrayInstruction(ClassEntryPREVIEW type)`
  Generate an instruction to create a new array of reference
  `default CodeBuilderPREVIEW`
  CodeBuilder.`newReferenceArrayInstruction(ClassDesc type)`
  Generate an instruction to create a new array of reference
  `default CodeBuilderPREVIEW`
  CodeBuilder.`nop()`
  Generate a do nothing instruction
  `default CodeBuilderPREVIEW`
  CodeBuilder.`nopInstruction()`
  Generate a do nothing instruction
  `default CodeBuilderPREVIEW`
  CodeBuilder.`operatorInstruction(OpcodePREVIEW opcode)`
  Generate an operator instruction
  `default CodeBuilderPREVIEW`
  CodeBuilder.`pop()`
  Generate an instruction to pop the top operand stack value
  `default CodeBuilderPREVIEW`
  CodeBuilder.`pop2()`
  Generate an instruction to pop the top one or two operand stack values
  `default CodeBuilderPREVIEW`
  CodeBuilder.`putfield(FieldRefEntryPREVIEW ref)`
  Generate an instruction to set field in an object
  `default CodeBuilderPREVIEW`
  CodeBuilder.`putfield(ClassDesc owner, String name, ClassDesc type)`
  Generate an instruction to set field in an object
  `default CodeBuilderPREVIEW`
  CodeBuilder.`putstatic(FieldRefEntryPREVIEW ref)`
  Generate an instruction to set static field in a class
  `default CodeBuilderPREVIEW`
  CodeBuilder.`putstatic(ClassDesc owner, String name, ClassDesc type)`
  Generate an instruction to set static field in a class
  `default CodeBuilderPREVIEW`
  CodeBuilder.`return_()`
  Generate an instruction to return void from the method
  `default CodeBuilderPREVIEW`
  CodeBuilder.`returnInstruction(TypeKindPREVIEW tk)`
  Generate return instruction
  `default CodeBuilderPREVIEW`
  CodeBuilder.`saload()`
  Generate an instruction to load a short from an array
  `default CodeBuilderPREVIEW`
  CodeBuilder.`sastore()`
  Generate an instruction to store into a short array
  `default CodeBuilderPREVIEW`
  CodeBuilder.`sipush(int s)`
  Generate an instruction pushing a short onto the operand stack
  `default CodeBuilderPREVIEW`
  CodeBuilder.`stackInstruction(OpcodePREVIEW opcode)`
  Generate a stack manipulating instruction
  `default CodeBuilderPREVIEW`
  CodeBuilder.`storeInstruction(TypeKindPREVIEW tk, int slot)`
  Generate an instruction to store a value to a local variable
  `default CodeBuilderPREVIEW`
  CodeBuilder.`swap()`
  Generate an instruction to swap the top two operand stack values
  `default CodeBuilderPREVIEW`
  CodeBuilder.`tableswitch(int low, int high, LabelPREVIEW defaultTarget, List<SwitchCasePREVIEW> cases)`
  Generate an instruction to access a jump table by index and jump
  `default CodeBuilderPREVIEW`
  CodeBuilder.`tableswitch(LabelPREVIEW defaultTarget, List<SwitchCasePREVIEW> cases)`
  Generate an instruction to access a jump table by index and jump
  `default CodeBuilderPREVIEW`
  CodeBuilder.`tableSwitchInstruction(int lowValue, int highValue, LabelPREVIEW defaultTarget, List<SwitchCasePREVIEW> cases)`
  Generate an instruction to access a jump table by index and jump
  `default CodeBuilderPREVIEW`
  CodeBuilder.`throwInstruction()`
  Generate an instruction to throw an exception or error
  `default CodeBuilderPREVIEW`
  CodeBuilder.`transforming(CodeTransformPREVIEW transform, Consumer<CodeBuilderPREVIEW> handler)`
  Apply a transform to the code built by a handler, directing results to this builder.
  `default CodeBuilderPREVIEW`
  CodeBuilder.`trying(Consumer<CodeBuilder.BlockCodeBuilderPREVIEW> tryHandler, Consumer<CodeBuilder.CatchBuilderPREVIEW> catchesHandler)`
  Adds a "try-catch" block comprising one try block and zero or more catch blocks.
  `default CodeBuilderPREVIEW`
  CodeBuilder.`typeCheckInstruction(OpcodePREVIEW opcode, ClassEntryPREVIEW type)`
  Generate a type checking instruction
  `default CodeBuilderPREVIEW`
  CodeBuilder.`typeCheckInstruction(OpcodePREVIEW opcode, ClassDesc type)`
  Generate a type checking instruction
  Methods in java.lang.classfilePREVIEW with parameters of type CodeBuilderPREVIEW
  Modifier and Type
  Method
  Description
  `default ClassFileTransform.ResolvedTransformPREVIEW<CodeElementPREVIEW>`
  CodeTransform.`resolve(CodeBuilderPREVIEW builder)`
  Method parameters in java.lang.classfilePREVIEW with type arguments of type CodeBuilderPREVIEW
  Modifier and Type
  Method
  Description
  `static CodeTransformPREVIEW`
  CodeTransform.`endHandler(Consumer<CodeBuilderPREVIEW> finisher)`
  Create a code transform that passes each element through to the builder, and calls the specified function when transformation is complete.
  `default CodeBuilderPREVIEW`
  CodeBuilder.`transforming(CodeTransformPREVIEW transform, Consumer<CodeBuilderPREVIEW> handler)`
  Apply a transform to the code built by a handler, directing results to this builder.
  `MethodBuilderPREVIEW`
  MethodBuilder.`withCode(Consumer<? super CodeBuilderPREVIEW> code)`
  Build the method body for this method.
  `default ClassBuilderPREVIEW`
  ClassBuilder.`withMethodBody(Utf8EntryPREVIEW name, Utf8EntryPREVIEW descriptor, int methodFlags, Consumer<? super CodeBuilderPREVIEW> handler)`
  Adds a method, with only a `Code` attribute.
  `default ClassBuilderPREVIEW`
  ClassBuilder.`withMethodBody(String name, MethodTypeDesc descriptor, int methodFlags, Consumer<? super CodeBuilderPREVIEW> handler)`
  Adds a method, with only a `CodeAttribute`PREVIEW.

- ## Uses of CodeBuilderPREVIEW in java.lang.classfile.componentsPREVIEW

  Methods in java.lang.classfile.componentsPREVIEW with parameters of type CodeBuilderPREVIEW
  Modifier and Type
  Method
  Description
  `LabelPREVIEW`
  CodeRelabeler.`relabel(LabelPREVIEW label, CodeBuilderPREVIEW codeBuilder)`
  Access method to internal re-labeling function.
  Method parameters in java.lang.classfile.componentsPREVIEW with type arguments of type CodeBuilderPREVIEW
  Modifier and Type
  Method
  Description
  `static CodeRelabelerPREVIEW`
  CodeRelabeler.`of(BiFunction<LabelPREVIEW,CodeBuilderPREVIEW,LabelPREVIEW> mapFunction)`
  Creates a new instance of CodeRelabeler using provided `BiFunction` to re-label the code.