| java.lang.Object | |
| ↳ | org.eclipse.sisu.inject.Sources | 
Utility methods for dealing with annotated sources.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static Description | describe(Object source, String value) Describes the given binding source with the given description. | ||||||||||
| static Description | describe(String value) Describes a new binding source with the given description. | ||||||||||
| static <T extends Annotation> T | getAnnotation(Binding<?> binding, Class<T> annotationType) Searches the binding's source and implementation for an annotation of the given type. | ||||||||||
| static Hidden | hide() Hides a new binding source from the bean locator. | ||||||||||
| static Hidden | hide(Object source) Hides the given binding source from the bean locator. | ||||||||||
| static Priority | prioritize(int value) Prioritizes a new binding source with the given priority. | ||||||||||
| static Priority | prioritize(Object source, int value) Prioritizes the given binding source with the given priority. | ||||||||||
| [Expand] Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  From class
  java.lang.Object | |||||||||||
Describes the given binding source with the given description.
| source | The source | 
|---|---|
| value | The description | 
Describes a new binding source with the given description.
| value | The description | 
|---|
Searches the binding's source and implementation for an annotation of the given type.
| binding | The binding | 
|---|---|
| annotationType | The annotation type | 
null if it doesn't exist
Hides a new binding source from the bean locator.
Hides the given binding source from the bean locator.
| source | The source | 
|---|
Prioritizes a new binding source with the given priority.
| value | The priority | 
|---|
Prioritizes the given binding source with the given priority.
| source | The source | 
|---|---|
| value | The priority |