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

The following examples show how to use org.eclipse.xtext.xbase.lib.util.ToStringBuilder#toString() . 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 File: DocumentOnTypeFormattingRegistrationOptions.java    From lsp4j with Eclipse Public License 2.0 5 votes vote down vote up
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("firstTriggerCharacter", this.firstTriggerCharacter);
  b.add("moreTriggerCharacter", this.moreTriggerCharacter);
  b.add("documentSelector", getDocumentSelector());
  return b.toString();
}
 
Example 2
Source File: SetVariableResponse.java    From lsp4j with Eclipse Public License 2.0 5 votes vote down vote up
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("value", this.value);
  b.add("type", this.type);
  b.add("variablesReference", this.variablesReference);
  b.add("namedVariables", this.namedVariables);
  b.add("indexedVariables", this.indexedVariables);
  return b.toString();
}
 
Example 3
Source File: ValidationResult.java    From xtext-web with Eclipse Public License 2.0 5 votes vote down vote up
@Override
public String toString() {
	ToStringBuilder b = new ToStringBuilder(this);
	b.skipNulls();
	b.add("description", this.description);
	b.add("severity", this.severity);
	b.add("line", this.line);
	b.add("column", this.column);
	b.add("offset", this.offset);
	b.add("length", this.length);
	return b.toString();
}
 
Example 4
Source File: CompletionsArguments.java    From lsp4j with Eclipse Public License 2.0 5 votes vote down vote up
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("frameId", this.frameId);
  b.add("text", this.text);
  b.add("column", this.column);
  b.add("line", this.line);
  return b.toString();
}
 
Example 5
Source File: CodeActionLiteralSupportCapabilities.java    From lsp4j with Eclipse Public License 2.0 5 votes vote down vote up
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("codeActionKind", this.codeActionKind);
  return b.toString();
}
 
Example 6
Source File: Case_0.java    From xtext-xtend with Eclipse Public License 2.0 5 votes vote down vote up
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("id", this.id);
  return b.toString();
}
 
Example 7
Source File: VariablesResponse.java    From lsp4j with Eclipse Public License 2.0 5 votes vote down vote up
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("variables", this.variables);
  return b.toString();
}
 
Example 8
Source File: BracePair.java    From xtext-core with 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 9
Source File: CodeLensOptions.java    From lsp4j with Eclipse Public License 2.0 5 votes vote down vote up
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("resolveProvider", this.resolveProvider);
  return b.toString();
}
 
Example 10
Source File: TypeReferenceBucket.java    From xtext-extras with Eclipse Public License 2.0 5 votes vote down vote up
@Override
public String toString() {
	ToStringBuilder b = new ToStringBuilder(this);
	b.add("id", id);
	b.add("types", types);
	return b.toString();
}
 
Example 11
Source File: DisconnectArguments.java    From lsp4j with Eclipse Public License 2.0 5 votes vote down vote up
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("restart", this.restart);
  b.add("terminateDebuggee", this.terminateDebuggee);
  return b.toString();
}
 
Example 12
Source File: TypeHierarchyParams.java    From lsp4j with Eclipse Public License 2.0 5 votes vote down vote up
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("resolve", this.resolve);
  b.add("direction", this.direction);
  b.add("textDocument", getTextDocument());
  b.add("uri", getUri());
  b.add("position", getPosition());
  return b.toString();
}
 
Example 13
Source File: GotoTargetsResponse.java    From lsp4j with Eclipse Public License 2.0 5 votes vote down vote up
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("targets", this.targets);
  return b.toString();
}
 
Example 14
Source File: StepInArguments.java    From lsp4j with Eclipse Public License 2.0 5 votes vote down vote up
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("threadId", this.threadId);
  b.add("targetId", this.targetId);
  return b.toString();
}
 
Example 15
Source File: TerminateThreadsArguments.java    From lsp4j with Eclipse Public License 2.0 5 votes vote down vote up
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("threadIds", this.threadIds);
  return b.toString();
}
 
Example 16
Source File: DiagnosticsTagSupport.java    From lsp4j with Eclipse Public License 2.0 5 votes vote down vote up
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("valueSet", this.valueSet);
  return b.toString();
}
 
Example 17
Source File: DiagnosticRelatedInformation.java    From lsp4j with Eclipse Public License 2.0 5 votes vote down vote up
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("location", this.location);
  b.add("message", this.message);
  return b.toString();
}
 
Example 18
Source File: Unregistration.java    From lsp4j with Eclipse Public License 2.0 5 votes vote down vote up
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("id", this.id);
  b.add("method", this.method);
  return b.toString();
}
 
Example 19
Source File: ILanguageServerAccess.java    From xtext-core with Eclipse Public License 2.0 5 votes vote down vote up
@Override
public String toString() {
	ToStringBuilder b = new ToStringBuilder(this);
	b.add("index", index);
	b.add("cancelChecker", cancelChecker);
	return b.toString();
}
 
Example 20
Source File: ColorProviderCapabilities.java    From lsp4j with Eclipse Public License 2.0 5 votes vote down vote up
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("dynamicRegistration", getDynamicRegistration());
  return b.toString();
}