1 package com.fasterxml.jackson.annotation; 2 3 import java.lang.annotation.ElementType; 4 import java.lang.annotation.Retention; 5 import java.lang.annotation.RetentionPolicy; 6 import java.lang.annotation.Target; 7 8 /** 9 * Meta-annotation (annotations used on other annotations) 10 * used for indicating that instead of using target annotation 11 * (annotation annotated with this annotation), 12 * Jackson should use meta-annotations it has. 13 * This can be useful in creating "combo-annotations" by having 14 * a container annotation, which needs to be annotated with this 15 * annotation as well as all annotations it 'contains'. 16 * 17 * @since 2.0 18 */ 19 @Target({ElementType.ANNOTATION_TYPE}) 20 @Retention(RetentionPolicy.RUNTIME) 21 @JacksonAnnotation 22 public @interface JacksonAnnotationsInside 23 { 24 25 } 26