Search in sources :

Example 46 with ToStringBuilder

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

the class UnknownType method toString.

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

Example 47 with ToStringBuilder

use of org.eclipse.xtext.xbase.lib.util.ToStringBuilder in project sts4 by spring-projects.

the class DidChangeWatchedFilesRegistrationOptions method toString.

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

Example 48 with ToStringBuilder

use of org.eclipse.xtext.xbase.lib.util.ToStringBuilder in project sts4 by spring-projects.

the class FileSystemWatcher method toString.

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

Example 49 with ToStringBuilder

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

the class ErlideEvent method toString.

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

Example 50 with ToStringBuilder

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

the class Location method toString.

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