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
targetName | Name of the implementation function which this composable was copied to. |
signature | Serialized signature of the actual composable function. |