Home
last modified time | relevance | path

Searched refs:scopeAnnotation (Results 1 – 19 of 19) sorted by relevance

/external/guice/core/src/com/google/inject/internal/
DProviderMethod.java63 Class<? extends Annotation> scopeAnnotation, boolean skipFastClassGeneration, in create() argument
76 scopeAnnotation, in create()
92 scopeAnnotation, in create()
100 private final Class<? extends Annotation> scopeAnnotation; field in ProviderMethod
111 Class<? extends Annotation> scopeAnnotation, Annotation annotation) { in ProviderMethod() argument
113 this.scopeAnnotation = scopeAnnotation; in ProviderMethod()
150 if (scopeAnnotation != null) { in configure()
151 binder.bind(key).toProvider(this).in(scopeAnnotation); in configure()
246 Class<? extends Annotation> scopeAnnotation, in FastClassProviderMethod() argument
253 scopeAnnotation, in FastClassProviderMethod()
[all …]
DScoping.java253 Class<? extends Annotation> scopeAnnotation = scoping.getScopeAnnotation();
254 if (scopeAnnotation == null) {
258 ScopeBinding scope = injector.state.getScopeBinding(scopeAnnotation);
263 errors.scopeNotFound(scopeAnnotation);
DAbstractBindingBuilder.java88 public void in(final Class<? extends Annotation> scopeAnnotation) { in in() argument
89 checkNotNull(scopeAnnotation, "scopeAnnotation"); in in()
91 setBinding(getBinding().withScoping(Scoping.forAnnotation(scopeAnnotation))); in in()
DConstructorBindingImpl.java111 Class<? extends Annotation> scopeAnnotation = findScopeAnnotation(errors, annotatedType); in create() local
112 if (scopeAnnotation != null) { in create()
113 scoping = Scoping.makeInjectable(Scoping.forAnnotation(scopeAnnotation), in create()
DAnnotations.java269 Class<? extends Annotation> scopeAnnotation = findScopeAnnotation(errors, type);
270 if (scopeAnnotation != null
273 errors.withSource(type).scopeAnnotationOnAbstractType(scopeAnnotation, type, source);
DProviderMethodsModule.java270 Class<? extends Annotation> scopeAnnotation in createProviderMethod() local
276 parameterProviders, scopeAnnotation, skipFastClassGeneration, annotation); in createProviderMethod()
DErrors.java238 public Errors scopeNotFound(Class<? extends Annotation> scopeAnnotation) { in scopeNotFound() argument
239 return addMessage("No scope is bound to %s.", scopeAnnotation); in scopeNotFound()
243 Class<? extends Annotation> scopeAnnotation, Class<?> type, Object source) { in scopeAnnotationOnAbstractType() argument
245 + "for abstract types.%n Bound at %s.", type, scopeAnnotation, convert(source)); in scopeAnnotationOnAbstractType()
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
DCheckedProviderMethod.java45 private final Class<? extends Annotation> scopeAnnotation; field in CheckedProviderMethod
61 Class<? extends Annotation> scopeAnnotation, in CheckedProviderMethod() argument
66 this.scopeAnnotation = scopeAnnotation; in CheckedProviderMethod()
92 if(scopeAnnotation != null) { in configure()
93 sbbuilder.in(scopeAnnotation); in configure()
DCheckedProviderMethodsModule.java120 Class<? extends Annotation> scopeAnnotation in createProviderMethod() local
128 parameterProviders, scopeAnnotation, throwingProvider, exceptionTypes, in createProviderMethod()
/external/guice/core/src/com/google/inject/
DScopes.java68 public Boolean visitScopeAnnotation(Class<? extends Annotation> scopeAnnotation) {
69 return scopeAnnotation == Singleton.class
70 || scopeAnnotation == javax.inject.Singleton.class;
130 final Class<? extends Annotation> scopeAnnotation) { in isScoped() argument
138 return visitedAnnotation == scopeAnnotation; in isScoped()
DAbstractModule.java85 protected void bindScope(Class<? extends Annotation> scopeAnnotation, in bindScope() argument
87 binder().bindScope(scopeAnnotation, scope); in bindScope()
DPrivateModule.java148 protected final void bindScope(Class<? extends Annotation> scopeAnnotation, Scope scope) { in bindScope() argument
149 binder().bindScope(scopeAnnotation, scope); in bindScope()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DScope.java69 Optional<AnnotationMirror> scopeAnnotation = getScopeAnnotation(element); in scopeOf() local
70 return scopeAnnotation.isPresent() ? new Scope(scopeAnnotation.get()) : UNSCOPED; in scopeOf()
/external/guice/core/src/com/google/inject/binder/
DScopedBindingBuilder.java33 void in(Class<? extends Annotation> scopeAnnotation); in in() argument
/external/guice/core/src/com/google/inject/spi/
DBindingScopingVisitor.java48 V visitScopeAnnotation(Class<? extends Annotation> scopeAnnotation); in visitScopeAnnotation() argument
DDefaultBindingScopingVisitor.java50 public V visitScopeAnnotation(Class<? extends Annotation> scopeAnnotation) { in visitScopeAnnotation() argument
/external/guice/core/test/com/google/inject/spi/
DFailingBindingScopingVisitor.java35 public Void visitScopeAnnotation(Class<? extends Annotation> scopeAnnotation) { in visitScopeAnnotation() argument
/external/guice/extensions/multibindings/src/com/google/inject/multibindings/
DIndexer.java166 @Override public Object visitScopeAnnotation(Class<? extends Annotation> scopeAnnotation) { in visitScopeAnnotation() argument
167 return scopeAnnotation; in visitScopeAnnotation()
/external/testng/lib-supplied/
Dguice-2.0.jarMETA-INF/ META-INF/MANIFEST.MF LICENSE NOTICE org/ org/testng/ ...