Java Code Examples for org.eclipse.xtext.xbase.lib.util.ToStringBuilder#add()

The following examples show how to use org.eclipse.xtext.xbase.lib.util.ToStringBuilder#add() . These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source Project: lsp4j   File: StackFrame.java    License: Eclipse Public License 2.0 6 votes vote down vote up
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("id", this.id);
  b.add("name", this.name);
  b.add("source", this.source);
  b.add("line", this.line);
  b.add("column", this.column);
  b.add("endLine", this.endLine);
  b.add("endColumn", this.endColumn);
  b.add("instructionPointerReference", this.instructionPointerReference);
  b.add("moduleId", this.moduleId);
  b.add("presentationHint", this.presentationHint);
  return b.toString();
}
 
Example 2
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("textDocument", this.textDocument);
  b.add("text", this.text);
  return b.toString();
}
 
Example 3
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("snippetSupport", this.snippetSupport);
  b.add("commitCharactersSupport", this.commitCharactersSupport);
  b.add("documentationFormat", this.documentationFormat);
  b.add("deprecatedSupport", this.deprecatedSupport);
  b.add("preselectSupport", this.preselectSupport);
  b.add("tagSupport", this.tagSupport);
  return b.toString();
}
 
Example 4
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("textDocument", this.textDocument);
  b.add("buildTarget", this.buildTarget);
  b.add("diagnostics", this.diagnostics);
  b.add("reset", this.reset);
  b.add("originId", this.originId);
  return b.toString();
}
 
Example 5
Source Project: xtext-core   File: Document.java    License: Eclipse Public License 2.0 5 votes vote down vote up
@Override
public String toString() {
	ToStringBuilder b = new ToStringBuilder(this);
	b.add("version", version);
	b.add("contents", contents);
	b.add("printSourceOnError", printSourceOnError);
	return b.toString();
}
 
Example 6
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("breakpoints", this.breakpoints);
  return b.toString();
}
 
Example 7
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("targets", this.targets);
  return b.toString();
}
 
Example 8
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("added", this.added);
  b.add("removed", this.removed);
  return b.toString();
}
 
Example 9
Source Project: lsp4j   File: RenameParams.java    License: Eclipse Public License 2.0 5 votes vote down vote up
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("newName", this.newName);
  b.add("textDocument", getTextDocument());
  b.add("uri", getUri());
  b.add("position", getPosition());
  return b.toString();
}
 
Example 10
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("firstTriggerCharacter", this.firstTriggerCharacter);
  b.add("moreTriggerCharacter", this.moreTriggerCharacter);
  return b.toString();
}
 
Example 11
Source Project: xtext-core   File: BracePair.java    License: Eclipse Public License 2.0 5 votes vote down vote up
@Override
public String toString() {
	ToStringBuilder b = new ToStringBuilder(this);
	b.add("leftBrace", this.leftBrace);
	b.add("rightBrace", this.rightBrace);
	b.add("structural", this.structural);
	return b.toString();
}
 
Example 12
Source Project: build-server-protocol   File: Position.java    License: Apache License 2.0 5 votes vote down vote up
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("line", this.line);
  b.add("character", this.character);
  return b.toString();
}
 
Example 13
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("dynamicRegistration", getDynamicRegistration());
  return b.toString();
}
 
Example 14
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("textDocument", this.textDocument);
  return b.toString();
}
 
Example 15
Source Project: lsp4j   File: TextDocumentEdit.java    License: Eclipse Public License 2.0 5 votes vote down vote up
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("textDocument", this.textDocument);
  b.add("edits", this.edits);
  return b.toString();
}
 
Example 16
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("variablesReference", this.variablesReference);
  b.add("name", this.name);
  return b.toString();
}
 
Example 17
Source Project: lsp4j   File: FileSystemWatcher.java    License: Eclipse Public License 2.0 5 votes vote down vote up
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("globPattern", this.globPattern);
  b.add("kind", this.kind);
  return b.toString();
}
 
Example 18
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("line", this.line);
  b.add("tokens", this.tokens);
  return b.toString();
}
 
Example 19
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("target", this.target);
  b.add("originId", this.originId);
  b.add("passed", this.passed);
  b.add("failed", this.failed);
  b.add("ignored", this.ignored);
  b.add("cancelled", this.cancelled);
  b.add("skipped", this.skipped);
  b.add("time", this.time);
  return b.toString();
}
 
Example 20
@Override
@Pure
public String toString() {
	ToStringBuilder b = new ToStringBuilder(this);
	b.add("path", this.path);
	b.add("test", this.test);
	return b.toString();
}