# Uses of Interface
java.lang.classfile.components.CodeRelabeler

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

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

  Methods in java.lang.classfile.componentsPREVIEW that return CodeRelabelerPREVIEW
  Modifier and Type
  Method
  Description
  `static CodeRelabelerPREVIEW`
  CodeRelabeler.`of()`
  Creates a new instance of CodeRelabeler.
  `static CodeRelabelerPREVIEW`
  CodeRelabeler.`of(BiFunction<LabelPREVIEW,CodeBuilderPREVIEW,LabelPREVIEW> mapFunction)`
  Creates a new instance of CodeRelabeler using provided `BiFunction` to re-label the code.
  `static CodeRelabelerPREVIEW`
  CodeRelabeler.`of(Map<LabelPREVIEW,LabelPREVIEW> map)`
  Creates a new instance of CodeRelabeler storing the label mapping into the provided map.