List of usage examples for com.google.gwt.inject.client.binder GinAnnotatedBindingBuilder annotatedWith
GinLinkedBindingBuilder<T> annotatedWith(Annotation annotation);
From source file:com.gwtplatform.dispatch.client.gin.AbstractDispatchAsyncModule.java
License:Apache License
private <T> GinLinkedBindingBuilder<T> bindAnnotated(Class<T> clazz) { GinAnnotatedBindingBuilder<T> binding = bind(clazz); if (annotationClass != null) { return binding.annotatedWith(annotationClass); }/* w ww .j a v a 2 s .c o m*/ return binding; }