-
Notifications
You must be signed in to change notification settings - Fork 44
@FluentSetter
peichhorn edited this page Jun 30, 2012
·
3 revisions
(Documentation pending)
import lombok.FluentSetter;
public class FluentSetterExample<T> {
@FluentSetter
private T value;
}
public class FluentSetterExample<T> {
private T value;
public FluentSetterExample<T> s(final T value) {
this.value = value;
return this;
}
}
(Documentation pending)
Nothing to configure yet.
I am not able to run @Action. If I provide Action1 implementation it works.
implementation private static Action1 println() { return new Action1() { public void apply(final Object o) { System.out.println(o); } };
pom : com.github.peichhorn lombok-pg 0.11.3
<dependency>
<groupId>com.github.peichhorn</groupId>
<artifactId>lombok-pg</artifactId>
<version>0.11.3</version>
<classifier>runtime</classifier>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.24</version>
<scope>provided</scope>
</dependency>