|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AnnotationMemberProvider<A extends Annotation>
A provider of an annotation based injection point which can use the value of an annotation together with the member on which the annotation is placed to determine the value.
Method Summary | |
---|---|
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 |
Method Detail |
---|
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)
boolean isNullParameterAllowed(A annotation, Method method, Class<?> parameterType, int parameterIndex)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |