/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/ |
D | MultibindingModule.java | 19 import dagger.Provides; 32 import static dagger.Provides.Type.MAP; 33 import static dagger.Provides.Type.SET; 37 @Provides(type = MAP) 43 @Provides(type = MAP) 49 @Provides(type = MAP) 55 @Provides(type = MAP) 61 @Provides(type = SET) 66 @Provides(type = SET) 71 @Provides [all …]
|
D | PrimitivesModule.java | 4 import dagger.Provides; 30 @Provides static byte provideByte() { in provideByte() 34 @Provides static char provideChar() { in provideChar() 38 @Provides static short provideShort() { in provideShort() 42 @Provides static int provideInt() { in provideInt() 46 @Provides static long provideLong() { in provideLong() 50 @Provides static boolean provideBoolean() { in provideBoolean() 54 @Provides static float provideFloat() { in provideFloat() 58 @Provides static double boundDouble() { in boundDouble() 62 @Provides static byte[] provideByteArray() { in provideByteArray() [all …]
|
D | BoundedGenericModule.java | 19 import dagger.Provides; 29 @Provides 34 @Provides 39 @Provides 46 @Provides 53 @Provides 60 @Provides 68 @Provides 75 @Provides
|
/external/caliper/caliper/src/main/java/com/google/caliper/worker/ |
D | WorkerModule.java | 28 import dagger.Provides; 29 import dagger.Provides.Type; 58 @Provides 64 @Provides 83 @Provides(type = Type.MAP) 89 @Provides(type = Type.MAP) 95 @Provides(type = Type.MAP) 101 @Provides(type = Type.MAP) 107 @Provides(type = Type.MAP) 113 @Provides(type = Type.MAP) [all …]
|
/external/caliper/caliper/src/main/java/com/google/caliper/json/ |
D | GsonModule.java | 25 import dagger.Provides; 26 import dagger.Provides.Type; 37 @Provides(type = Type.SET) 42 @Provides(type = Type.SET) 47 @Provides(type = Type.SET) 52 @Provides(type = Type.SET) 57 @Provides 62 @Provides(type = Type.SET) 68 @Provides static InstantTypeAdapter provideInstantTypeAdapter() { in provideInstantTypeAdapter() 72 @Provides static Gson provideGson(Set<TypeAdapterFactory> typeAdapterFactories, in provideGson()
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
D | ExperimentingRunnerModule.java | 41 import dagger.Provides; 42 import dagger.Provides.Type; 63 @Provides(type = Type.SET) 68 @Provides(type = Type.SET) 73 @Provides 78 @Provides 83 @Provides 90 @Provides 105 @Provides(type = Type.MAP) 111 @Provides(type = Type.MAP) [all …]
|
D | TrialModule.java | 32 import dagger.Provides; 53 @Provides 60 @Provides 67 @Provides 73 @Provides 82 @Provides 90 @Provides 95 @Provides 101 @Provides 111 @Provides [all …]
|
D | RunnerModule.java | 28 import dagger.Provides; 42 @Provides 61 @Provides 66 @Provides static CaliperRun provideCaliperRun(ExperimentingCaliperRun experimentingCaliperRun) { in provideCaliperRun() 70 @Provides @Singleton
|
D | InstrumentInjectorModule.java | 22 import dagger.Provides; 39 @Provides 44 @Provides 50 @Provides
|
D | BenchmarkClassModule.java | 23 import dagger.Provides; 35 @Provides 42 @Provides 49 @Provides
|
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/subcomponent/ |
D | ParentMultibindingModule.java | 19 import dagger.Provides; 22 import static dagger.Provides.Type.MAP; 23 import static dagger.Provides.Type.SET; 28 @Provides(type = SET) 33 @Provides(type = SET) 38 @Provides(type = SET) 44 @Provides(type = MAP) 50 @Provides(type = MAP)
|
D | ChildMultibindingModule.java | 19 import dagger.Provides; 22 import static dagger.Provides.Type.MAP; 23 import static dagger.Provides.Type.SET; 28 @Provides(type = SET) 33 @Provides(type = MAP)
|
D | GrandchildModule.java | 19 import dagger.Provides; 21 import static dagger.Provides.Type.SET; 25 @Provides(type = SET) Object provideUnscopedObject() { in provideUnscopedObject() 33 @Provides AnInterface provideAnInterface(ImplementsAnInterface implementsAnInterface) { 37 @Provides NeedsAnInterface provideNeedsAnInterface(AnInterface anInterface) {
|
D | ParentModule.java | 19 import dagger.Provides; 22 import static dagger.Provides.Type.SET; 26 @Provides(type = SET) Object provideUnscopedObject() { in provideUnscopedObject() 34 @Provides(type = SET) @Singleton Object provideSingletonObject() { 42 @Provides @Singleton @BoundAsSingleton UnscopedType provideUnscopedTypeBoundAsSingleton(
|
/external/guice/core/test/com/google/inject/spi/ |
D | ProviderMethodsTest.java | 36 import com.google.inject.Provides; 102 @Provides 115 @Provides 130 @Provides 205 @Provides @Named("A") @Blue 248 @Named("First") @Provides T provideFirst() { 252 @Named("Second") @Provides T provideSecond() { 256 @Provides Set<T> provideBoth(@Named("First") T first, @Named("Second") T second) { 266 @Provides @Named("count") 287 @Provides public String provideString(Integer count) { [all …]
|
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/subcomponent/repeat/ |
D | RepeatedModule.java | 19 import dagger.Provides; 21 import static dagger.Provides.Type.SET; 27 @Provides 32 @Provides 37 @Provides(type = SET) 42 @Provides 47 @Provides
|
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/sub/ |
D | ContributionsModule.java | 19 import dagger.Provides; 25 import static dagger.Provides.Type.SET; 26 import static dagger.Provides.Type.SET_VALUES; 30 @Provides(type = SET) int contributeAnInt(double doubleDependency) { in contributeAnInt() 34 @Provides(type = SET) int contributeAnotherInt() { in contributeAnotherInt() 38 @Provides(type = SET_VALUES) Set<Integer> contributeSomeInts() { in contributeSomeInts()
|
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/staticprovides/ |
D | AllStaticModule.java | 18 import static dagger.Provides.Type.SET; 19 import static dagger.Provides.Type.SET_VALUES; 23 import dagger.Provides; 28 @Provides(type = SET) static String contributeString() { in contributeString() 32 @Provides(type = SET_VALUES) static Set<Integer> contibuteEmptyIntegerSet() { in contibuteEmptyIntegerSet()
|
D | SomeStaticModule.java | 18 import static dagger.Provides.Type.SET; 21 import dagger.Provides; 25 @Provides(type = SET) static String contributeStringFromAStaticMethod() { in contributeStringFromAStaticMethod() 29 @Provides(type = SET) String contributeStringFromAnInstanceMethod() { in contributeStringFromAnInstanceMethod()
|
/external/guice/extensions/mini/test/com/google/inject/mini/ |
D | MiniGuiceTest.java | 18 import com.google.inject.Provides; 34 @Provides E provideE(F f) { in testBasicInjection() 37 @Provides F provideF() { in testBasicInjection() 103 @Provides @Singleton F provideK() { in testSingletons() 127 @Provides @Named("one") A getOne() { in testBindingAnnotations() 130 @Provides @Named("two") A getTwo() { in testBindingAnnotations() 151 @Provides @Singleton @Named("one") F provideF(Provider<A> aProvider) { in testSingletonBindingAnnotationAndProvider() 172 @Provides @Singleton F provideF() { in testSingletonInGraph() 213 @Provides F provideF() { in testSubclasses() 234 @Provides F provideF(R r) { in testSingletonsAreEager() [all …]
|
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/membersinject/ |
D | MembersInjectModule.java | 19 import dagger.Provides; 24 @Provides String[] provideStringArray() { return new String[10]; } in provideStringArray() 26 @Provides int[] provideIntArray() { return new int[10]; } in provideIntArray() 29 …@Provides MembersInjectGenericParent<String[]>[] provideFooArrayOfStringArray() { return new Membe… in provideFooArrayOfStringArray()
|
/external/guice/core/test/com/google/inject/ |
D | PrivateModuleTest.java | 101 @Provides @Exposed in testMisplacedExposedAnnotation() 137 @Provides @Named("a") String providePublicA() { in testPrivateModulesAndProvidesMethods() 141 @Provides @Named("b") String providePrivateB() { in testPrivateModulesAndProvidesMethods() 149 @Provides @Named("c") String providePrivateC() { in testPrivateModulesAndProvidesMethods() 153 @Provides @Exposed @Named("d") String providePublicD() { in testPrivateModulesAndProvidesMethods() 331 @Provides @Exposed @Named("a") String provideA() { in testDependenciesBetweenPrivateAndPublic() 335 @Provides @Exposed @Named("abc") String provideAbc(@Named("ab") String ab) { in testDependenciesBetweenPrivateAndPublic() 342 @Provides @Named("ab") String provideAb(@Named("a") String a) { in testDependenciesBetweenPrivateAndPublic() 346 @Provides @Named("abcd") String provideAbcd(@Named("abc") String abc) { in testDependenciesBetweenPrivateAndPublic() 360 @Provides @Exposed @Named("a") String provideA() { in testDependenciesBetweenPrivateAndPublicWithPublicEagerSingleton() [all …]
|
/external/guice/extensions/dagger-adapter/test/com/google/inject/daggeradapter/ |
D | DaggerAdapterTest.java | 18 import static dagger.Provides.Type.SET; 27 import com.google.inject.Provides; 43 @dagger.Provides Integer anInteger() { in anInteger() 54 @Provides String aString(Integer i) { in aString() 68 @dagger.Provides(type=SET) Integer anInteger() { in anInteger() 74 @dagger.Provides(type=SET) Integer anInteger() { in anInteger()
|
/external/guice/extensions/servlet/src/com/google/inject/servlet/ |
D | InternalServletModule.java | 25 import com.google.inject.Provides; 101 @Provides @Singleton @ScopingOnly GuiceFilter provideScopingOnlyGuiceFilter() { in provideScopingOnlyGuiceFilter() 105 @Provides @RequestScoped HttpServletRequest provideHttpServletRequest() { in provideHttpServletRequest() 109 @Provides @RequestScoped HttpServletResponse provideHttpServletResponse() { in provideHttpServletResponse() 113 @Provides HttpSession provideHttpSession() { in provideHttpSession() 118 @Provides @RequestScoped @RequestParameters Map<String, String[]> provideRequestParameters( in provideRequestParameters()
|
/external/guice/extensions/dagger-adapter/src/com/google/inject/daggeradapter/ |
D | DaggerMethodScanner.java | 26 import dagger.Provides; 27 import dagger.Provides.Type; 42 return ImmutableSet.of(dagger.Provides.class); in annotationClasses() 48 Provides annotation = (Provides) rawAnnotation; in prepareMethod()
|