io.prestosql.hadoop.$internal.com.fasterxml.jackson.annotation.JacksonAnnotationValue Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hadoop-apache Show documentation
Show all versions of hadoop-apache Show documentation
Shaded version of Apache Hadoop for Presto
package io.prestosql.hadoop.$internal.com.fasterxml.jackson.annotation;
import java.lang.annotation.Annotation;
/**
* Marker interface used by value classes like {@link JsonFormat.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
*/
public interface JacksonAnnotationValue
{
/**
* Introspection method that may be used to find actual annotation that may be used
* as the source for value instance.
*/
public Class valueFor();
}