com.google.inject.binder
Interface BindingAnnotationBuilder<T>

All Known Subinterfaces:
BindingBuilder<T>

public interface BindingAnnotationBuilder<T>

Specifies the annotation of this binding.

Author:
crazybob@google.com (Bob Lee)

Method Summary
 BindingBuilder<T> annotatedWith(Annotation annotation)
          Specifies an annotation value for this binding.
 BindingBuilder<T> annotatedWith(Class<? extends Annotation> annotationType)
          Specifies the marker annotation type for this binding.
 

Method Detail

annotatedWith

BindingBuilder<T> annotatedWith(Class<? extends Annotation> annotationType)
Specifies the marker annotation type for this binding.


annotatedWith

BindingBuilder<T> annotatedWith(Annotation annotation)
Specifies an annotation value for this binding.