/* * Copyright (C) 2023 The Dagger Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package dagger.functional.kotlinsrc.multibindings import dagger.Component import dagger.functional.kotlinsrc.multibindings.subpackage.ContributionsModule import dagger.multibindings.StringKey import javax.inject.Named import javax.inject.Provider @Component( modules = [MultibindingModule::class, MultibindsModule::class, ContributionsModule::class], dependencies = [MultibindingDependency::class] ) interface MultibindingComponent { fun map(): Map fun mapOfArrays(): Map> fun mapOfProviders(): Map> fun mapKeys(): Set fun mapValues(): Collection fun set(): Set fun nestedKeyMap(): Map fun numberClassKeyMap(): Map, String> fun classKeyMap(): Map, String> fun longKeyMap(): Map fun integerKeyMap(): Map fun shortKeyMap(): Map fun byteKeyMap(): Map fun booleanKeyMap(): Map fun characterKeyMap(): Map fun unwrappedAnnotationKeyMap(): Map fun wrappedAnnotationKeyMap(): Map @Named("complexQualifier") fun complexQualifierStringSet(): Set fun emptySet(): Set @Named("complexQualifier") fun emptyQualifiedSet(): Set fun emptyMap(): Map @Named("complexQualifier") fun emptyQualifiedMap(): Map fun maybeEmptySet(): Set @Named("complexQualifier") fun maybeEmptyQualifiedSet(): Set fun maybeEmptyMap(): Map @Named("complexQualifier") fun maybeEmptyQualifiedMap(): Map }