Annotation Type Serial.Version

Enclosing class:
Serial

@Target({TYPE,PACKAGE,ANNOTATION_TYPE}) public static @interface Serial.Version
Could be applied to types, enclosing types, enclosing packages and as meta-annotation. Specify serial version over enclosing types. It has an effect of also making them implement serializable if they don't already. May be used in combination with Serial.Structural, but it is not strictly needed if structural is present.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    long
     
  • Element Details

    • value

      long value