Searched refs:NO_SCOPE (Results 1 – 12 of 12) sorted by relevance
/external/guice/core/src/com/google/inject/internal/ |
D | Scoping.java | 52 return Scopes.NO_SCOPE; 57 return Scopes.NO_SCOPE.toString(); 79 return Scopes.NO_SCOPE; 84 return Scopes.NO_SCOPE.toString(); 89 scopedBindingBuilder.in(Scopes.NO_SCOPE); 193 } else if (scope == Scopes.NO_SCOPE) { 233 return getScopeInstance() == Scopes.NO_SCOPE;
|
D | Indexer.java | 178 return Scopes.NO_SCOPE; in visitNoScoping()
|
/external/guice/core/test/com/google/inject/ |
D | ScopesTest.java | 143 bind(AnnotatedSingleton.class).in(Scopes.NO_SCOPE); in testOverriddingAnnotation() 292 Asserts.assertNotSerializable(Scopes.NO_SCOPE); in testNoScopeIsNotSerializable() 326 bindScope(NotRuntimeRetainedScoped.class, Scopes.NO_SCOPE); in configure() 355 bindScope(Deprecated.class, Scopes.NO_SCOPE); in configure() 383 bindScope(CustomScoped.class, Scopes.NO_SCOPE); in configure() 436 bindScope(CustomScoped.class, Scopes.NO_SCOPE); in testDuplicateScopeAnnotations() 693 bind(c).toProvider(Providers.of("c")).in(Scopes.NO_SCOPE); 695 bindScope(CustomScoped.class, Scopes.NO_SCOPE); 807 bind(c).toProvider(Providers.of("c")).in(Scopes.NO_SCOPE); 1359 bind(AImpl.class).in(Scopes.NO_SCOPE);
|
D | DuplicateBindingsTest.java | 102 new ScopedModule(Scopes.NO_SCOPE, foo, pFoo, pclFoo, clFoo, cFoo), in testSameScopeInstanceIgnored() 103 new ScopedModule(Scopes.NO_SCOPE, foo, pFoo, pclFoo, clFoo, cFoo)); in testSameScopeInstanceIgnored() 121 new ScopedModule(Scopes.NO_SCOPE, foo, pFoo, pclFoo, clFoo, cFoo)); in testMixedScopeAndUnscopedIgnored()
|
D | BindingTest.java | 373 bind(n).toConstructor(constructor).in(Scopes.NO_SCOPE); in testToConstructorAndScopes()
|
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
D | ServletScopesTest.java | 129 bind(c).toProvider(Providers.of("c")).in(Scopes.NO_SCOPE); in testIsRequestScopedNegative() 135 bindScope(CustomScoped.class, Scopes.NO_SCOPE); in testIsRequestScopedNegative()
|
/external/guice/core/src/com/google/inject/ |
D | Scopes.java | 48 public static final Scope NO_SCOPE = field in Scopes
|
/external/guice/core/test/com/google/inject/spi/ |
D | ElementsTest.java | 765 bindScope(SampleAnnotation.class, Scopes.NO_SCOPE); in testBindScope() 772 assertSame(Scopes.NO_SCOPE, command.getScope()); in testBindScope() 1136 sbb.in(Scopes.NO_SCOPE); in testBindWithMultipleScopesAddsError()
|
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/ |
D | ThrowingProviderBinder.java | 224 binder.bind(typeKey).toConstructor((Constructor) cxtor).in(Scopes.NO_SCOPE); in providing()
|
/external/guice/core/test/com/google/inject/internal/ |
D | MultibinderTest.java | 1097 bind(Integer.class).to(Key.get(Integer.class, named("A"))).in(Scopes.NO_SCOPE); in testDuplicateUnscopedBindings() 1112 multibinder.addBinding().to(Key.get(Integer.class, named("A"))).in(Scopes.NO_SCOPE); in testDuplicateUnscopedBindings()
|
D | OptionalBinderTest.java | 1304 b.setDefault().to(Key.get(Integer.class, named("foo"))).in(Scopes.NO_SCOPE); in testDuplicateUnscopedBindings() 1306 b.setBinding().to(Key.get(Integer.class, named("foo"))).in(Scopes.NO_SCOPE); in testDuplicateUnscopedBindings()
|
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/ |
D | FactoryProvider2.java | 786 .in(Scopes.NO_SCOPE); // make sure we erase any scope on the implementation type in getBindingFromNewInjector()
|