@Retention(CLASS)
@Target({TYPE,FIELD,METHOD})
@Repeatable(ESExprCodecOverrideList.class)
public @interface ESExprOverrideCodec
Defines a codec override for a specified type.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumSpecifies what kind of codec will be overridden. -
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
value
-
codecType
ESExprOverrideCodec.CodecType codecTypeThe type of codec being specified.- Returns:
- The CodecType.
- Default:
VALUE
-
requiredAnnotations
Class<?>[] requiredAnnotationsIf annotations are specified here, at least one must be present on the type usage for this to apply.- Returns:
- An array of the annotation types.
- Default:
{}
-
excludedAnnotations
Class<?>[] excludedAnnotationsIf annotations are specified here, this will not apply if any are present.- Returns:
- An array of the annotation types.
- Default:
{}
-