Mark @Struct annotation to be incubating

This commit is contained in:
Christian Beikov 2023-01-04 19:56:15 +01:00
parent 1117436090
commit b515ec45a0
1 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,8 @@ import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy; import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target; import java.lang.annotation.Target;
import org.hibernate.Incubating;
import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.ElementType.TYPE;
@ -37,6 +39,7 @@ import static java.lang.annotation.ElementType.TYPE;
* *
* @since 6.2 * @since 6.2
*/ */
@Incubating
@Target({TYPE, FIELD, METHOD}) @Target({TYPE, FIELD, METHOD})
@Retention( RetentionPolicy.RUNTIME ) @Retention( RetentionPolicy.RUNTIME )
public @interface Struct { public @interface Struct {