All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fitbur.jackson.annotation.JacksonAnnotationValue Maven / Gradle / Ivy

There is a newer version: 1.0.0
Show newest version
package com.fitbur.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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy