{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

DecoyImplementation

@ExperimentalComposeApi
@Target(allowedTargets = [AnnotationTarget.FUNCTION, AnnotationTarget.CONSTRUCTOR])
public annotation DecoyImplementation


With decoys enabled, indicates composable implementation function created by compiler plugin.

Summary

Public constructors

Public methods

final long

Id from original function signature to distinguish overloads.

final @NonNull String

Name of this implementation function.

Public constructors

DecoyImplementation

public DecoyImplementation(@NonNull String name, long id)
Parameters
@NonNull String name

Name of this implementation function.

long id

Id from original function signature to distinguish overloads.

Public methods

getId

public final long getId()

Id from original function signature to distinguish overloads.

getName

public final @NonNull String getName()

Name of this implementation function.