Package net.corda.v5.base.annotations
Annotation DeprecatedConstructorForDeserialization
-
- All Implemented Interfaces:
-
java.lang.annotation.Annotation
@Target(value = CONSTRUCTOR)@Retention(value = RUNTIME) public @interface DeprecatedConstructorForDeserialization
This annotation is a marker to indicate which secondary constructors should be considered, and in which order, for evolving objects during their deserialization.
Versions will be considered in descending order. Currently, duplicate versions will result in non-deterministic behaviour when deserializing objects.