org.eclipse.sisu.inject.AnnotatedSource |
Binding source locations can implement this interface to supply annotations to the BeanLocator
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract <T extends Annotation> T |
getAnnotation(Binding<?> binding, Class<T> annotationType)
Returns the annotation of the given type that is associated with the binding.
|
Returns the annotation of the given type that is associated with the binding.
binding | The binding |
---|---|
annotationType | The annotation type |
null
if no such annotation exists