Search in sources :

Example 51 with ToStringBuilder

use of org.eclipse.xtext.xbase.lib.util.ToStringBuilder in project erlide_eclipse by erlang.

the class ErlangApplicationProperties method toString.

@Override
public String toString() {
    final ToStringBuilder b = new ToStringBuilder(this);
    b.add("version", version);
    return b.toString();
}
Also used : ToStringBuilder(org.eclipse.xtext.xbase.lib.util.ToStringBuilder)

Aggregations

ToStringBuilder (org.eclipse.xtext.xbase.lib.util.ToStringBuilder)51 Pure (org.eclipse.xtext.xbase.lib.Pure)15 Test (org.junit.Test)11 StringConcatenation (org.eclipse.xtend2.lib.StringConcatenation)7 ToString (org.eclipse.xtend.lib.annotations.ToString)1