Package com.fasterxml.jackson.annotation
Interface JacksonAnnotationValue<A extends java.lang.annotation.Annotation>
-
- All Known Implementing Classes:
JacksonInject.Value
,JsonAutoDetect.Value
,JsonFormat.Value
,JsonIgnoreProperties.Value
,JsonInclude.Value
,JsonIncludeProperties.Value
,JsonSetter.Value
public interface JacksonAnnotationValue<A extends java.lang.annotation.Annotation>
Marker interface used by value classes likeJsonFormat.Value
that are used to contain information from one of Jackson annotations, and can be directly instantiated from those annotations, as well as programmatically constructed and possibly merged. The reason for such marker is to allow generic handling of some of the annotations, as well as to allow easier injection of configuration from sources other than annotations.- Since:
- 2.6
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Class<A>
valueFor()
Introspection method that may be used to find actual annotation that may be used as the source for value instance.
-
-
-
Method Detail
-
valueFor
java.lang.Class<A> valueFor()
Introspection method that may be used to find actual annotation that may be used as the source for value instance.- Returns:
- Annotation class for which instances of this value class are created
-
-