Generates a setter for a field, that only sets if a condition is met.
The field to generate the property for.
The condition to evaluate when assigning.
The access modifier for the setter function.
The name of the property functions. Defaults to the field name minus the first character. Meant for fields that start with underscores.
See Implementation
Generates a setter for a field, that only sets if a condition is met.