how do i set the value for the setter methods for the property if i use the lomok? I have a class as below:
@Getter
@Setter
public class LombokDTO {
private int id;
}
I have created a object for this class to set value for id.
LombokDTO lto = new LombokDTO();
but i could not find setId method if i give lto. ?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
how do i set the value for the setter methods for the property if i use the lomok? I have a class as below:
@Getter
@Setter
public class LombokDTO {
private int id;
}
I have created a object for this class to set value for id.
LombokDTO lto = new LombokDTO();
but i could not find setId method if i give lto. ?