Decoy

Class

Common
@ExperimentalComposeApi
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.CONSTRUCTOR)
public annotation class Decoy(val targetName: String, vararg val signature: String)

With decoys enabled, indicates original composable function that was stubbed by compiler plugin. Provides metadata to link it with the implementation function generated by compiler.

Parameters

targetNameName of the implementation function which this composable was copied to.
signatureSerialized signature of the actual composable function.