ClassFileTransform.ResolvedTransform (Java SE 23 & JDK 23)
Description: declaration: module: java.base, package: java.lang.classfile, interface: ClassFileTransform, interface: ResolvedTransform
Keywords: java.lang.classfile.ClassFileTransform.ResolvedTransform interface

# Interface ClassFileTransform.ResolvedTransform<E extends ClassFileElementPREVIEW>

Type Parameters:
  `E` - the element type

Enclosing interface:
  `ClassFileTransformPREVIEW<C extends ClassFileTransformPREVIEW<C,E,B>,E extends ClassFileElementPREVIEW,B extends ClassFileBuilderPREVIEW<E,B>>`

public static interface ClassFileTransform.ResolvedTransform<E extends ClassFileElementPREVIEW>
`ResolvedTransform` is a preview API of the Java platform.
Programs can only use `ResolvedTransform` when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
The result of binding a transform to a builder. Used primarily within the implementation to perform transformation.

Since:
  22

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Consumer<E>`
  `consumer()`
  Returns a `Consumer` to receive elements.
  `Runnable`
  `endHandler()`
  Returns an action to call at the end of transformation.
  `Runnable`
  `startHandler()`
  Returns an action to call at the start of transformation.

- ## Method Details

  - ### consumer

    Consumer<E> consumer()
    Returns a `Consumer` to receive elements.
    Returns:
      a `Consumer` to receive elements

  - ### endHandler

    Runnable endHandler()
    Returns an action to call at the end of transformation.
    Returns:
      an action to call at the end of transformation

  - ### startHandler

    Runnable startHandler()
    Returns an action to call at the start of transformation.
    Returns:
      an action to call at the start of transformation