All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.infotechcorp.gradle.anvilextensions.ContributesMultibindings.kt Maven / Gradle / Ivy

There is a newer version: 1.2.8
Show newest version
package com.infotechcorp.gradle.anvilextensions

import kotlin.annotation.AnnotationRetention.SOURCE
import kotlin.annotation.AnnotationTarget.CLASS
import kotlin.reflect.KClass

/**
 * Same as com.squareup.anvil.annotations.ContributesMultibinding but with the ability to contribute
 * multiple IntoMap and generic types
 */
@Repeatable
@Target(CLASS)
@Retention(SOURCE)
annotation class ContributesMultibindings(
  val scope: KClass<*>,
  val boundType: KClass<*> = Unit::class,
  val boundTypeIndex: Int = -1,
  val ignoreQualifier: Boolean = false,
)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy