Search in sources :

Example 31 with ToStringBuilder

use of org.eclipse.xtext.xbase.lib.util.ToStringBuilder in project balzac by balzac-lang.

the class SignatureAndKey method toString.

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

Example 32 with ToStringBuilder

use of org.eclipse.xtext.xbase.lib.util.ToStringBuilder in project xtext-core by eclipse.

the class AlternativeImageDescription method toString.

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

Example 33 with ToStringBuilder

use of org.eclipse.xtext.xbase.lib.util.ToStringBuilder in project xtext-core by eclipse.

the class SimpleImageDescription method toString.

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

Example 34 with ToStringBuilder

use of org.eclipse.xtext.xbase.lib.util.ToStringBuilder in project xtext-core by eclipse.

the class RenameChange method toString.

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

Example 35 with ToStringBuilder

use of org.eclipse.xtext.xbase.lib.util.ToStringBuilder in project xtext-core by eclipse.

the class DecoratedImageDescription method toString.

@Override
public String toString() {
    ToStringBuilder b = new ToStringBuilder(this);
    b.add("baseImage", baseImage);
    b.add("decorators", decorators);
    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