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
Create FieldReader and FieldWriter interfaces to do this.
Ex:
public class Property {
//all current attrs, removing setMethod and getMethod
private final FieldReader reader;
private final FieldWriter writer;
}
Create an annotation to define the way to assign a value to a field.
Create something like this:
@assignment(AssignmentType.AcessorMethod)
@assignment(AssignmentType.DirectAssignment)
The annotation is for fields and classes, and when a class is annotated with @assignment, then all their fields will receive the same configuration
The text was updated successfully, but these errors were encountered: