Home
last modified time | relevance | path

Searched refs:bindingAnnotation (Results 1 – 6 of 6) sorted by relevance

/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
DParameter.java40 private final Annotation bindingAnnotation; field in Parameter
47 this.bindingAnnotation = getBindingAnnotation(annotations); in Parameter()
66 if (bindingAnnotation != null) { in toString()
67 result.append(bindingAnnotation).append(" "); in toString()
138 return bindingAnnotation != null ? Key.get(type, bindingAnnotation) : Key.get(type); in getBindingForType()
148 Annotation bindingAnnotation = null; in getBindingAnnotation() local
152 bindingAnnotation == null, in getBindingAnnotation()
154 bindingAnnotation, in getBindingAnnotation()
156 bindingAnnotation = annotation; in getBindingAnnotation()
159 return bindingAnnotation; in getBindingAnnotation()
/external/dagger2/java/dagger/internal/codegen/
DBindingElementValidator.java53 private final Class<? extends Annotation> bindingAnnotation; field in BindingElementValidator
64 Class<? extends Annotation> bindingAnnotation, in BindingElementValidator() argument
67 this.bindingAnnotation = bindingAnnotation; in BindingElementValidator()
307 if (bindingAnnotation.equals(Provides.class)) { in checkMultibindings()
309 getAnnotationMirror(element, bindingAnnotation).get(); in checkMultibindings()
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
DCheckedProviderMethodsModule.java138 Annotation bindingAnnotation = Annotations.findBindingAnnotation(errors, member, annotations); in getKey() local
139 return bindingAnnotation == null ? Key.get(type) : Key.get(type, bindingAnnotation); in getKey()
/external/guice/extensions/mini/src/com/google/inject/mini/
DMiniGuice.java316 Annotation bindingAnnotation = null; in key() local
321 if (bindingAnnotation != null) { in key()
324 bindingAnnotation = a; in key()
326 return new Key(type, bindingAnnotation); in key()
/external/guice/core/src/com/google/inject/internal/
DProviderMethodsModule.java283 Annotation bindingAnnotation = Annotations.findBindingAnnotation(errors, member, annotations); in getKey() local
284 return bindingAnnotation == null ? Key.get(type) : Key.get(type, bindingAnnotation); in getKey()
DErrors.java358 public Errors misplacedBindingAnnotation(Member member, Annotation bindingAnnotation) { in misplacedBindingAnnotation() argument
362 member, bindingAnnotation); in misplacedBindingAnnotation()