Searched refs:NO_SCOPE (Results 1 – 13 of 13) sorted by relevance
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;
178 return Scopes.NO_SCOPE; in visitNoScoping()
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);
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()
373 bind(n).toConstructor(constructor).in(Scopes.NO_SCOPE); in testToConstructorAndScopes()
129 bind(c).toProvider(Providers.of("c")).in(Scopes.NO_SCOPE); in testIsRequestScopedNegative()135 bindScope(CustomScoped.class, Scopes.NO_SCOPE); in testIsRequestScopedNegative()
48 public static final Scope NO_SCOPE = field in Scopes
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()
224 binder.bind(typeKey).toConstructor((Constructor) cxtor).in(Scopes.NO_SCOPE); in providing()
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()
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()
786 .in(Scopes.NO_SCOPE); // make sure we erase any scope on the implementation type in getBindingFromNewInjector()
META-INF/ META-INF/MANIFEST.MF LICENSE NOTICE org/ org/testng/ ...