Searched refs:NO_SCOPE (Results 1 – 12 of 12) sorted by relevance
/external/guice/core/src/com/google/inject/internal/ |
D | Scoping.java | 50 return Scopes.NO_SCOPE; 54 return Scopes.NO_SCOPE.toString(); 178 return getScopeInstance() == Scopes.NO_SCOPE;
|
/external/guice/core/test/com/google/inject/ |
D | ScopesTest.java | 140 bind(AnnotatedSingleton.class).in(Scopes.NO_SCOPE); in testOverriddingAnnotation() 271 Asserts.assertNotSerializable(Scopes.NO_SCOPE); in testNoScopeIsNotSerializable() 299 bindScope(NotRuntimeRetainedScoped.class, Scopes.NO_SCOPE); in configure() 322 bindScope(Deprecated.class, Scopes.NO_SCOPE); in configure() 345 bindScope(CustomScoped.class, Scopes.NO_SCOPE); in configure() 385 bindScope(CustomScoped.class, Scopes.NO_SCOPE); in testDuplicateScopeAnnotations() 614 bind(c).toProvider(Providers.of("c")).in(Scopes.NO_SCOPE); 616 bindScope(CustomScoped.class, Scopes.NO_SCOPE); 714 bind(c).toProvider(Providers.of("c")).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() 124 new ScopedModule(Scopes.NO_SCOPE, foo, pFoo, pclFoo, clFoo, cFoo) in testMixedScopeAndUnscopedIgnored()
|
D | BindingTest.java | 332 bind(n).toConstructor(constructor).in(Scopes.NO_SCOPE); in testToConstructorAndScopes()
|
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
D | ServletScopesTest.java | 128 bind(c).toProvider(Providers.of("c")).in(Scopes.NO_SCOPE); in testIsRequestScopedNegative() 134 bindScope(CustomScoped.class, Scopes.NO_SCOPE); in testIsRequestScopedNegative()
|
/external/guice/core/src/com/google/inject/ |
D | Scopes.java | 53 public static final Scope NO_SCOPE = new Scope() { field in Scopes
|
/external/guice/extensions/multibindings/src/com/google/inject/multibindings/ |
D | Indexer.java | 159 return Scopes.NO_SCOPE; in visitNoScoping()
|
/external/guice/core/test/com/google/inject/spi/ |
D | ElementsTest.java | 723 bindScope(SampleAnnotation.class, Scopes.NO_SCOPE); in testBindScope() 730 assertSame(Scopes.NO_SCOPE, command.getScope()); in testBindScope() 1079 sbb.in(Scopes.NO_SCOPE); in testBindWithMultipleScopesAddsError()
|
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/ |
D | ThrowingProviderBinder.java | 229 binder.bind(typeKey).toConstructor((Constructor) cxtor).in(Scopes.NO_SCOPE); in providing()
|
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/ |
D | MultibinderTest.java | 867 bind(Integer.class).to(Key.get(Integer.class, named("A"))).in(Scopes.NO_SCOPE); in testDuplicateUnscopedBindings() 879 multibinder.addBinding().to(Key.get(Integer.class, named("A"))).in(Scopes.NO_SCOPE); in testDuplicateUnscopedBindings()
|
D | OptionalBinderTest.java | 1090 b.setDefault().to(Key.get(Integer.class, named("foo"))).in(Scopes.NO_SCOPE); in testDuplicateUnscopedBindings() 1092 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 | 721 .in(Scopes.NO_SCOPE); // make sure we erase any scope on the implementation type in getBindingFromNewInjector()
|