dagger.multibindings.ClassKey Java Examples
The following examples show how to use
dagger.multibindings.ClassKey.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: MultibindingMapClassKey.java From dagger-reflect with Apache License 2.0 | 4 votes |
@Provides @IntoMap @ClassKey(Impl1.class) static I one() { return Impl1.INSTANCE; }
Example #2
Source File: MultibindingMapClassKey.java From dagger-reflect with Apache License 2.0 | 4 votes |
@Provides @IntoMap @ClassKey(Impl2.class) static I two() { return Impl2.INSTANCE; }
Example #3
Source File: MainActivityBindingModule.java From DaggerMock with Apache License 2.0 | 4 votes |
@Binds @IntoMap @ClassKey(MainActivity.class) abstract AndroidInjector.Factory<?> mainActivityInjectorFactory( MainActivityComponent.Builder builder);
Example #4
Source File: ExpressionModule.java From MOE with Apache License 2.0 | 4 votes |
@Binds @IntoMap @ClassKey(RepositoryExpression.class) CodebaseProcessor<? extends Expression> bindsRepositoryCodebaseProcessor( RepositoryCodebaseProcessor impl);
Example #5
Source File: ExpressionModule.java From MOE with Apache License 2.0 | 4 votes |
@Binds @IntoMap @ClassKey(EditExpression.class) CodebaseProcessor<? extends Expression> bindsEditedCodebaseProcessor( EditedCodebaseProcessor impl);
Example #6
Source File: ExpressionModule.java From MOE with Apache License 2.0 | 4 votes |
@Binds @IntoMap @ClassKey(TranslateExpression.class) CodebaseProcessor<? extends Expression> bindsTranslatedCodebaseProcessor( TranslatedCodebaseProcessor impl);
Example #7
Source File: ViewModule.java From cathode with Apache License 2.0 | 4 votes |
@Binds @IntoMap @ClassKey(RemoteImageView.class) abstract AndroidInjector.Factory<?> bindRemoteImageViewSubcomponent( RemoteImageViewSubcomponent.Builder builder);