Fluent interface for setters

Create issue
Issue #301 new
Görel Hedin created an issue

Let setters return this instead of void to allow fluent construction of objects.

Example grammar:

A ::= B C;
B;
C;

Example use of fluent API:

new A().setB(new B()).setC(new C())

Comments (3)

  1. Log in to comment