Class RestApiModule.ModifyViewBinder<P extends RestResource>
java.lang.Object
com.google.gerrit.extensions.restapi.RestApiModule.ModifyViewBinder<P>
- Enclosing class:
RestApiModule
-
Method Summary
Modifier and TypeMethodDescription<T extends RestModifyView<P,
?>>
com.google.inject.binder.ScopedBindingBuilder<T extends RestModifyView<P,
?>>
voidtoInstance
(T impl) <T extends RestModifyView<P,
?>>
com.google.inject.binder.ScopedBindingBuildertoProvider
(com.google.inject.Provider<? extends T> provider) <T extends RestModifyView<P,
?>>
com.google.inject.binder.ScopedBindingBuildertoProvider
(Class<? extends com.google.inject.Provider<? extends T>> providerType)
-
Method Details
-
to
@CanIgnoreReturnValue public <T extends RestModifyView<P,?>> com.google.inject.binder.ScopedBindingBuilder to(Class<T> impl) -
toInstance
-
toProvider
@CanIgnoreReturnValue public <T extends RestModifyView<P,?>> com.google.inject.binder.ScopedBindingBuilder toProvider(Class<? extends com.google.inject.Provider<? extends T>> providerType) -
toProvider
@CanIgnoreReturnValue public <T extends RestModifyView<P,?>> com.google.inject.binder.ScopedBindingBuilder toProvider(com.google.inject.Provider<? extends T> provider)
-