You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/main/java/codes/laivy/serializable/annotations/serializers/MethodSerialization.java
+6
Original file line number
Diff line number
Diff line change
@@ -118,6 +118,12 @@
118
118
@Documented
119
119
@Retention(RetentionPolicy.RUNTIME)
120
120
@Target({ElementType.TYPE, ElementType.FIELD})
121
+
// todo: @ConstructorSerialization
122
+
// allows to deserialize using it's own class constructor, the constructor must have
123
+
// the same parameters (with same names or @KnownAs names) as the non-transient fields from it
124
+
// todo: A 'propagate' variable that indicates all subclasses from the annotation's class will enherit as default the currently annotation
125
+
// todo: A 'enherit' variable that indicates the class will enherit the first superclass (recursively) method serialization found (and delete @EnheritSerialization)
126
+
// todo: This doesn't works for interface implementations
0 commit comments