This is the old documentation of lombok-pg. The new version can be found in the wiki of the github repository. Take me to the new Version then!

@FluentSetter

Overview

Detailed Description

With Lombok

1 import lombok.FluentSetter;
2 
3 public class FluentSetterExample<T> {
4   @FluentSetter
5   private String s;
6 }

Vanilla Java

1 public class FluentSetterExample<T> {
2   private String s;
3   
4   public FluentSetterExample<T> s(final String s) {
5     this.s = s;
6     return this;
7   }
8 }

Small print

Smallprint