Home | History | Annotate | Download | only in util

Lines Matching refs:Scope

32 import com.google.inject.Scope;
226 final Map<Scope, List<Object>> scopeInstancesInUse = Maps.newHashMap();
233 // Record when a scope instance is used in a binding
234 Scope scope = getScopeInstanceOrNull(binding);
235 if (scope != null) {
236 List<Object> existing = scopeInstancesInUse.get(scope);
239 scopeInstancesInUse.put(scope, existing);
286 // execute the scope bindings, skipping scopes that have been overridden. Any scope that
298 "The scope for @%s is bound directly and cannot be overridden.");
312 private Scope getScopeInstanceOrNull(Binding<?> binding) {
313 return binding.acceptScopingVisitor(new DefaultBindingScopingVisitor<Scope>() {
314 @Override public Scope visitScope(Scope scope) {
315 return scope;