Searched refs:scoping (Results 1 - 14 of 14) sorted by relevance

/external/guice/core/src/com/google/inject/internal/
H A DBindingImpl.java35 private final Scoping scoping; field in class:BindingImpl
39 InternalFactory<? extends T> internalFactory, Scoping scoping) {
44 this.scoping = scoping;
47 protected BindingImpl(Object source, Key<T> key, Scoping scoping) { argument
52 this.scoping = scoping;
81 return scoping;
97 return scoping.acceptVisitor(visitor);
100 protected BindingImpl<T> withScoping(Scoping scoping) { argument
38 BindingImpl(InjectorImpl injector, Key<T> key, Object source, InternalFactory<? extends T> internalFactory, Scoping scoping) argument
[all...]
H A DLinkedProviderBindingImpl.java37 InternalFactory<? extends T> internalFactory, Scoping scoping,
40 super(injector, key, source, internalFactory, scoping);
46 InternalFactory<? extends T> internalFactory, Scoping scoping,
48 this(injector, key, source, internalFactory, scoping, providerKey, null);
51 LinkedProviderBindingImpl(Object source, Key<T> key, Scoping scoping, argument
53 super(source, key, scoping);
59 Object source, InternalFactory<? extends T> internalFactory, Scoping scoping,
62 return new LinkedProviderBindingImpl<T>(injector, key, source, internalFactory, scoping,
84 public BindingImpl<T> withScoping(Scoping scoping) { argument
85 return new LinkedProviderBindingImpl<T>(getSource(), getKey(), scoping, providerKe
36 LinkedProviderBindingImpl(InjectorImpl injector, Key<T> key, Object source, InternalFactory<? extends T> internalFactory, Scoping scoping, Key<? extends javax.inject.Provider<? extends T>> providerKey, DelayedInitialize delayedInitializer) argument
45 LinkedProviderBindingImpl(InjectorImpl injector, Key<T> key, Object source, InternalFactory<? extends T> internalFactory, Scoping scoping, Key<? extends javax.inject.Provider<? extends T>> providerKey) argument
58 createWithInitializer(InjectorImpl injector, Key<T> key, Object source, InternalFactory<? extends T> internalFactory, Scoping scoping, Key<? extends javax.inject.Provider<? extends T>> providerKey, DelayedInitialize delayedInitializer) argument
[all...]
H A DLinkedBindingImpl.java35 InternalFactory<? extends T> internalFactory, Scoping scoping,
37 super(injector, key, source, internalFactory, scoping);
41 public LinkedBindingImpl(Object source, Key<T> key, Scoping scoping, Key<? extends T> targetKey) { argument
42 super(source, key, scoping);
58 public BindingImpl<T> withScoping(Scoping scoping) { argument
59 return new LinkedBindingImpl<T>(getSource(), getKey(), scoping, targetKey);
34 LinkedBindingImpl(InjectorImpl injector, Key<T> key, Object source, InternalFactory<? extends T> internalFactory, Scoping scoping, Key<? extends T> targetKey) argument
H A DUntargettedBindingImpl.java36 public UntargettedBindingImpl(Object source, Key<T> key, Scoping scoping) { argument
37 super(source, key, scoping);
44 public BindingImpl<T> withScoping(Scoping scoping) { argument
45 return new UntargettedBindingImpl<T>(getSource(), getKey(), scoping);
H A DProviderInstanceBindingImpl.java41 Object source, InternalFactory<? extends T> internalFactory, Scoping scoping,
44 super(injector, key, source, internalFactory, scoping);
49 public ProviderInstanceBindingImpl(Object source, Key<T> key, Scoping scoping, argument
51 super(source, key, scoping);
84 public BindingImpl<T> withScoping(Scoping scoping) { argument
86 getSource(), getKey(), scoping, injectionPoints, providerInstance);
40 ProviderInstanceBindingImpl(InjectorImpl injector, Key<T> key, Object source, InternalFactory<? extends T> internalFactory, Scoping scoping, javax.inject.Provider<? extends T> providerInstance, Set<InjectionPoint> injectionPoints) argument
H A DConstructorBindingImpl.java50 InternalFactory<? extends T> scopedFactory, Scoping scoping, Factory<T> factory,
52 super(injector, key, source, scopedFactory, scoping);
57 public ConstructorBindingImpl(Key<T> key, Object source, Scoping scoping, argument
59 super(source, key, scoping);
74 InjectionPoint constructorInjector, Object source, Scoping scoping, Errors errors,
108 // if no scope is specified, look for a scoping annotation on the concrete class
109 if (!scoping.isExplicitlyScoped()) {
113 scoping = Scoping.makeInjectable(Scoping.forAnnotation(scopeAnnotation),
122 = Scoping.scope(key, injector, factoryFactory, source, scoping);
125 injector, key, source, scopedFactory, scoping, factoryFactor
49 ConstructorBindingImpl(InjectorImpl injector, Key<T> key, Object source, InternalFactory<? extends T> scopedFactory, Scoping scoping, Factory<T> factory, InjectionPoint constructorInjectionPoint) argument
73 create(InjectorImpl injector, Key<T> key, InjectionPoint constructorInjector, Object source, Scoping scoping, Errors errors, boolean failIfNotLinked, boolean failIfNotExplicit) argument
203 withScoping(Scoping scoping) argument
[all...]
H A DBindingProcessor.java76 binding.getConstructor(), source, scoping, errors, false, false);
97 = Scoping.scope(key, injector, factory, source, scoping);
117 = Scoping.scope(key, injector, factory, source, scoping);
118 putBinding(new ProviderInstanceBindingImpl<T>(injector, key, source, scopedFactory, scoping,
134 key, injector, (InternalFactory<? extends T>) boundProviderFactory, source, scoping);
136 injector, key, source, scopedFactory, scoping, providerKey));
151 = Scoping.scope(key, injector, factory, source, scoping);
153 new LinkedBindingImpl<T>(injector, key, source, scopedFactory, scoping, linkedKey));
H A DAbstractBindingProcessor.java142 Scoping scoping; field in class:AbstractBindingProcessor.Processor
148 scoping = binding.getScoping();
153 scoping = Scoping.makeInjectable(scoping, injector, errors);
H A DInstanceBindingImpl.java48 public InstanceBindingImpl(Object source, Key<T> key, Scoping scoping, argument
50 super(source, key, scoping);
78 public BindingImpl<T> withScoping(Scoping scoping) { argument
79 return new InstanceBindingImpl<T>(getSource(), getKey(), scoping, injectionPoints, instance);
H A DScoping.java41 * No scoping annotation has been applied. Note that this is different from {@code
167 * scoping annotation will be used.
234 InternalFactory<? extends T> creator, Object source, Scoping scoping) {
236 if (scoping.isNoScope()) {
240 Scope scope = scoping.getScopeInstance();
252 static Scoping makeInjectable(Scoping scoping, InjectorImpl injector, Errors errors) { argument
253 Class<? extends Annotation> scopeAnnotation = scoping.getScopeAnnotation();
255 return scoping;
233 scope(Key<T> key, InjectorImpl injector, InternalFactory<? extends T> creator, Object source, Scoping scoping) argument
H A DUntargettedBindingProcessor.java52 key, scoping, source, errors, false);
H A DInjectorImpl.java625 <T> BindingImpl<T> createUninitializedBinding(Key<T> key, Scoping scoping, Object source, argument
647 return createImplementedByBinding(key, scoping, implementedBy, errors);
654 return createProvidedByBinding(key, scoping, providedBy, errors);
662 scoping,
699 <T> BindingImpl<T> createProvidedByBinding(Key<T> key, Scoping scoping, argument
719 Scoping.<T>scope(key, this, internalFactory, source, scoping),
720 scoping,
728 private <T> BindingImpl<T> createImplementedByBinding(Key<T> key, Scoping scoping, argument
769 Scoping.<T>scope(key, this, internalFactory, source, scoping),
770 scoping,
[all...]
/external/testng/lib-supplied/
H A Dguice-2.0.jarMETA-INF/ META-INF/MANIFEST.MF LICENSE NOTICE org/ org/testng/ org/testng/guice/ org/testng/ ...
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
H A Dtoken.rb427 scoping behavior can be mildly confusing if you're trying to get a handle of the
460 # note the self:: scoping below is due to the fact that

Completed in 576 milliseconds