ContributesExperiment

@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class ContributesExperiment(source)

Annotate a Experiment class with this to automatically contribute it to the ExperimentScope multibinding. Equivalent to the following declaration in an application module:

@Module
@ContributesTo(ExperimentScope::class)
abstract class ExperimentModule {
@Binds @IntoSet
abstract fun bindMainExperiment(experiment: MainExperiment): Experiment
}

The generated code created via the anvil-codegen module.