Home
last modified time | relevance | path

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

/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
DParameter.java41 private final Annotation bindingAnnotation; field in Parameter
48 this.bindingAnnotation = getBindingAnnotation(annotations); in Parameter()
67 if (bindingAnnotation != null) { in toString()
68 result.append(bindingAnnotation).append(" "); in toString()
143 return bindingAnnotation != null in getBindingForType()
144 ? Key.get(type, bindingAnnotation) in getBindingForType()
155 Annotation bindingAnnotation = null; in getBindingAnnotation() local
158 checkArgument(bindingAnnotation == null, in getBindingAnnotation()
159 "Parameter has multiple binding annotations: %s and %s", bindingAnnotation, annotation); in getBindingAnnotation()
160 bindingAnnotation = annotation; in getBindingAnnotation()
[all …]
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
DCheckedProviderMethodsModule.java133 Annotation bindingAnnotation = Annotations.findBindingAnnotation(errors, member, annotations); in getKey() local
134 return bindingAnnotation == null ? Key.get(type) : Key.get(type, bindingAnnotation); in getKey()
/external/guice/extensions/mini/src/com/google/inject/mini/
DMiniGuice.java301 Annotation bindingAnnotation = null; in key() local
306 if (bindingAnnotation != null) { in key()
309 bindingAnnotation = a; in key()
311 return new Key(type, bindingAnnotation); in key()
/external/guice/core/src/com/google/inject/internal/
DProviderMethodsModule.java280 Annotation bindingAnnotation = Annotations.findBindingAnnotation(errors, member, annotations); in getKey() local
281 return bindingAnnotation == null ? Key.get(type) : Key.get(type, bindingAnnotation); in getKey()
DErrors.java248 public Errors misplacedBindingAnnotation(Member member, Annotation bindingAnnotation) { in misplacedBindingAnnotation() argument
250 + "to its parameters instead.", member, bindingAnnotation); in misplacedBindingAnnotation()