/external/dagger2/java/dagger/model/ |
D | Scope.java | 41 public final AnnotationMirror scopeAnnotation() { in scopeAnnotation() method in Scope 47 return MoreTypes.asTypeElement(scopeAnnotation().getAnnotationType()); in scopeAnnotationElement() 53 public static Scope scope(AnnotationMirror scopeAnnotation) { in scope() argument 54 checkArgument(isScope(scopeAnnotation)); in scope() 55 return new AutoValue_Scope(AnnotationMirrors.equivalence().wrap(scopeAnnotation)); in scope() 61 public static boolean isScope(AnnotationMirror scopeAnnotation) { in isScope() argument 62 return isScope(MoreElements.asType(scopeAnnotation.getAnnotationType().asElement())); in isScope() 94 return scopeAnnotation().toString(); in toString()
|
/external/guice/core/src/com/google/inject/internal/ |
D | ProviderMethod.java | 62 Class<? extends Annotation> scopeAnnotation, in create() argument 72 key, fc, method, instance, dependencies, scopeAnnotation, annotation); in create() 86 key, method, instance, dependencies, scopeAnnotation, annotation); in create() 93 private final Class<? extends Annotation> scopeAnnotation; field in ProviderMethod 109 Class<? extends Annotation> scopeAnnotation, in ProviderMethod() argument 115 this.scopeAnnotation = scopeAnnotation; in ProviderMethod() 151 if (scopeAnnotation != null) { in configure() 152 binder.bind(key).toProvider(this).in(scopeAnnotation); in configure() 253 Class<? extends Annotation> scopeAnnotation, in FastClassProviderMethod() argument 255 super(key, method, instance, dependencies, scopeAnnotation, annotation); in FastClassProviderMethod() [all …]
|
D | AbstractBindingBuilder.java | 87 public void in(final Class<? extends Annotation> scopeAnnotation) { in in() argument 88 checkNotNull(scopeAnnotation, "scopeAnnotation"); in in() 90 setBinding(getBinding().withScoping(Scoping.forAnnotation(scopeAnnotation))); in in()
|
D | Scoping.java | 309 Class<? extends Annotation> scopeAnnotation = scoping.getScopeAnnotation(); 310 if (scopeAnnotation == null) { 314 ScopeBinding scope = injector.state.getScopeBinding(scopeAnnotation); 319 errors.scopeNotFound(scopeAnnotation);
|
D | ConstructorBindingImpl.java | 127 Class<? extends Annotation> scopeAnnotation = findScopeAnnotation(errors, annotatedType); in create() local 128 if (scopeAnnotation != null) { in create() 131 Scoping.forAnnotation(scopeAnnotation), injector, errors.withSource(rawType)); in create()
|
D | Annotations.java | 295 Class<? extends Annotation> scopeAnnotation = findScopeAnnotation(errors, type); 296 if (scopeAnnotation != null 299 errors.withSource(type).scopeAnnotationOnAbstractType(scopeAnnotation, type, source);
|
D | Indexer.java | 187 public Object visitScopeAnnotation(Class<? extends Annotation> scopeAnnotation) { in visitScopeAnnotation() argument 188 return scopeAnnotation; in visitScopeAnnotation()
|
D | Errors.java | 346 public Errors scopeNotFound(Class<? extends Annotation> scopeAnnotation) { in scopeNotFound() argument 347 return addMessage("No scope is bound to %s.", scopeAnnotation); in scopeNotFound() 351 Class<? extends Annotation> scopeAnnotation, Class<?> type, Object source) { in scopeAnnotationOnAbstractType() argument 355 type, scopeAnnotation, convert(source)); in scopeAnnotationOnAbstractType()
|
D | ProviderMethodsModule.java | 267 Class<? extends Annotation> scopeAnnotation = in createProviderMethod() local 277 scopeAnnotation, in createProviderMethod()
|
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/ |
D | CheckedProviderMethod.java | 44 private final Class<? extends Annotation> scopeAnnotation; field in CheckedProviderMethod 60 Class<? extends Annotation> scopeAnnotation, in CheckedProviderMethod() argument 65 this.scopeAnnotation = scopeAnnotation; in CheckedProviderMethod() 90 if (scopeAnnotation != null) { in configure() 91 sbbuilder.in(scopeAnnotation); in configure()
|
D | CheckedProviderMethodsModule.java | 118 Class<? extends Annotation> scopeAnnotation = in createProviderMethod() local 131 scopeAnnotation, in createProviderMethod()
|
/external/guice/core/src/com/google/inject/ |
D | Scopes.java | 69 public Boolean visitScopeAnnotation(Class<? extends Annotation> scopeAnnotation) { 70 return scopeAnnotation == Singleton.class 71 || scopeAnnotation == javax.inject.Singleton.class; 132 Binding<?> binding, final Scope scope, final Class<? extends Annotation> scopeAnnotation) { in isScoped() argument 144 return visitedAnnotation == scopeAnnotation; in isScoped()
|
D | AbstractModule.java | 77 protected void bindScope(Class<? extends Annotation> scopeAnnotation, Scope scope) { in bindScope() argument 78 binder().bindScope(scopeAnnotation, scope); in bindScope()
|
D | PrivateModule.java | 145 protected final void bindScope(Class<? extends Annotation> scopeAnnotation, Scope scope) { in bindScope() argument 146 binder().bindScope(scopeAnnotation, scope); in bindScope()
|
/external/guice/core/src/com/google/inject/binder/ |
D | ScopedBindingBuilder.java | 30 void in(Class<? extends Annotation> scopeAnnotation); in in() argument
|
/external/guice/core/src/com/google/inject/spi/ |
D | BindingScopingVisitor.java | 45 V visitScopeAnnotation(Class<? extends Annotation> scopeAnnotation); in visitScopeAnnotation() argument
|
D | DefaultBindingScopingVisitor.java | 49 public V visitScopeAnnotation(Class<? extends Annotation> scopeAnnotation) { in visitScopeAnnotation() argument
|
/external/guice/core/test/com/google/inject/spi/ |
D | FailingBindingScopingVisitor.java | 36 public Void visitScopeAnnotation(Class<? extends Annotation> scopeAnnotation) { in visitScopeAnnotation() argument
|
/external/dagger2/java/dagger/internal/codegen/validation/ |
D | InjectValidator.java | 175 builder.addError(scopeErrorMsg, constructorElement, scope.scopeAnnotation()); in validateConstructorUncached() 232 scope.scopeAnnotation()); in validateConstructorUncached() 239 scope.scopeAnnotation()); in validateConstructorUncached()
|
D | BindingElementValidator.java | 366 report.addError(error, element, scope.scopeAnnotation()); in checkScopes()
|