public interface AnnotationMemberProvider<A extends Annotation>
Modifier and Type | Method and Description |
---|---|
boolean |
isNullParameterAllowed(A annotation,
Method method,
Class<?> parameterType,
int parameterIndex)
Returns true if the given parameter on the annotated method can be null
|
Object |
provide(A annotation,
com.google.inject.TypeLiteral<?> type,
Field field)
Returns the value to be injected for the given annotated field
|
Object |
provide(A annotation,
com.google.inject.TypeLiteral<?> type,
Method method,
Class<?> parameterType,
int parameterIndex)
Returns the value to be injected for the given annotated method parameter
value
|
Object provide(A annotation, com.google.inject.TypeLiteral<?> type, Field field)
Object provide(A annotation, com.google.inject.TypeLiteral<?> type, Method method, Class<?> parameterType, int parameterIndex)
Apache Camel