@Deprecated public class MultibindingsScanner extends Object
Modifier and Type | Method and Description |
---|---|
static Module |
asModule()
Deprecated.
This functionality is now installed by default. All references/installations can be
eliminated.
|
static ModuleAnnotatedMethodScanner |
scanner()
Deprecated.
This method returns an empty scanner since the preexisting functionality is
installed by default.
|
@Deprecated public static Module asModule()
ProvidesIntoMap
, @ProvidesIntoSet
, and
@ProvidesIntoOptional
.
This is a convenience method, equivalent to doing binder().scanModulesForAnnotatedMethods(MultibindingsScanner.scanner())
.
@Deprecated public static ModuleAnnotatedMethodScanner scanner()
Copyright © 2006–2020 Google, Inc.. All rights reserved.