Search in sources :

Example 36 with ToStringBuilder

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

the class CombinedGrammarMarker method toString.

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

Example 37 with ToStringBuilder

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

the class EPackageInfo method toString.

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

Example 38 with ToStringBuilder

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

the class SourceFolderDescriptor method toString.

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

Example 39 with ToStringBuilder

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

the class LineAndColumn method toString.

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

Example 40 with ToStringBuilder

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

the class OriginalElement method toString.

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