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.java52 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;
DIndexer.java178 return Scopes.NO_SCOPE; in visitNoScoping()
/external/guice/core/test/com/google/inject/
DScopesTest.java143 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);
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()
121 new ScopedModule(Scopes.NO_SCOPE, foo, pFoo, pclFoo, clFoo, cFoo)); in testMixedScopeAndUnscopedIgnored()
DBindingTest.java373 bind(n).toConstructor(constructor).in(Scopes.NO_SCOPE); in testToConstructorAndScopes()
/external/guice/extensions/servlet/test/com/google/inject/servlet/
DServletScopesTest.java129 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/
DScopes.java48 public static final Scope NO_SCOPE = field in Scopes
/external/guice/core/test/com/google/inject/spi/
DElementsTest.java765 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/
DThrowingProviderBinder.java224 binder.bind(typeKey).toConstructor((Constructor) cxtor).in(Scopes.NO_SCOPE); in providing()
/external/guice/core/test/com/google/inject/internal/
DMultibinderTest.java1097 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()
DOptionalBinderTest.java1304 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/
DFactoryProvider2.java786 .in(Scopes.NO_SCOPE); // make sure we erase any scope on the implementation type in getBindingFromNewInjector()