Home
last modified time | relevance | path

Searched refs:NO_SCOPE (Results 1 – 12 of 12) sorted by relevance

/external/guice/core/src/com/google/inject/internal/
DScoping.java50 return Scopes.NO_SCOPE;
54 return Scopes.NO_SCOPE.toString();
178 return getScopeInstance() == Scopes.NO_SCOPE;
/external/guice/core/test/com/google/inject/
DScopesTest.java140 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);
DDuplicateBindingsTest.java102 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()
DBindingTest.java332 bind(n).toConstructor(constructor).in(Scopes.NO_SCOPE); in testToConstructorAndScopes()
/external/guice/extensions/servlet/test/com/google/inject/servlet/
DServletScopesTest.java128 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/
DScopes.java53 public static final Scope NO_SCOPE = new Scope() { field in Scopes
/external/guice/extensions/multibindings/src/com/google/inject/multibindings/
DIndexer.java159 return Scopes.NO_SCOPE; in visitNoScoping()
/external/guice/core/test/com/google/inject/spi/
DElementsTest.java723 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/
DThrowingProviderBinder.java229 binder.bind(typeKey).toConstructor((Constructor) cxtor).in(Scopes.NO_SCOPE); in providing()
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/
DMultibinderTest.java867 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()
DOptionalBinderTest.java1090 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/
DFactoryProvider2.java721 .in(Scopes.NO_SCOPE); // make sure we erase any scope on the implementation type in getBindingFromNewInjector()