package org.fusesource.restygwt.client.complex; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import org.fusesource.restygwt.server.complex.DTOTypeResolver; import com.fasterxml.jackson.annotation.JacksonAnnotationsInside; import com.fasterxml.jackson.annotation.JsonTypeInfo; @Retention(RetentionPolicy.RUNTIME) @Target({ ElementType.ANNOTATION_TYPE, ElementType.TYPE, ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER }) @JacksonAnnotationsInside @com.fasterxml.jackson.databind.annotation.JsonTypeIdResolver(DTOTypeResolver.class) @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "@type") @Inherited @Documented public @interface AbstractJacksonAnnotationsInside { }