public interface

AnnotatedSource

org.eclipse.sisu.inject.AnnotatedSource

Class Overview

Binding source locations can implement this interface to supply annotations to the BeanLocator.

Summary

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.

Public Methods

public abstract T getAnnotation (Binding<?> binding, Class<T> annotationType)

Returns the annotation of the given type that is associated with the binding.

Parameters
binding The binding
annotationType The annotation type
Returns
  • The associated annotation; null if no such annotation exists