Lombok

From Chorke Wiki
Jump to navigation Jump to search
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MyPojo {

    @Getter(AccessLevel.NONE)
    private Boolean xxx;

    public Boolean isXxx() {
        return xxx;
    }
}

References