Java 类org.eclipse.xtext.xbase.lib.Pure 实例源码

项目:SOMns-vscode    文件:ColoringParams.java   
@Override
@Pure
public boolean equals(final Object obj) {
  if (this == obj)
    return true;
  if (obj == null)
    return false;
  if (getClass() != obj.getClass())
    return false;
  ColoringParams other = (ColoringParams) obj;
  if (this.uri == null) {
    if (other.uri != null)
      return false;
  } else if (!this.uri.equals(other.uri))
    return false;
  if (this.infos == null) {
    if (other.infos != null)
      return false;
  } else if (!this.infos.equals(other.infos))
    return false;
  return true;
}
项目:lsp4j    文件:Unregistration.java   
@Override
@Pure
public boolean equals(final Object obj) {
  if (this == obj)
    return true;
  if (obj == null)
    return false;
  if (getClass() != obj.getClass())
    return false;
  Unregistration other = (Unregistration) obj;
  if (this.id == null) {
    if (other.id != null)
      return false;
  } else if (!this.id.equals(other.id))
    return false;
  if (this.method == null) {
    if (other.method != null)
      return false;
  } else if (!this.method.equals(other.method))
    return false;
  return true;
}
项目:lsp4j    文件:DidOpenTextDocumentParams.java   
@Override
@Pure
public boolean equals(final Object obj) {
  if (this == obj)
    return true;
  if (obj == null)
    return false;
  if (getClass() != obj.getClass())
    return false;
  DidOpenTextDocumentParams other = (DidOpenTextDocumentParams) obj;
  if (this.textDocument == null) {
    if (other.textDocument != null)
      return false;
  } else if (!this.textDocument.equals(other.textDocument))
    return false;
  if (this.text == null) {
    if (other.text != null)
      return false;
  } else if (!this.text.equals(other.text))
    return false;
  return true;
}
项目:lsp4j    文件:TextDocumentSaveRegistrationOptions.java   
@Override
@Pure
public boolean equals(final Object obj) {
  if (this == obj)
    return true;
  if (obj == null)
    return false;
  if (getClass() != obj.getClass())
    return false;
  if (!super.equals(obj))
    return false;
  TextDocumentSaveRegistrationOptions other = (TextDocumentSaveRegistrationOptions) obj;
  if (this.includeText == null) {
    if (other.includeText != null)
      return false;
  } else if (!this.includeText.equals(other.includeText))
    return false;
  return true;
}
项目:SOMns-vscode    文件:ReferenceParams.java   
@Override
@Pure
public boolean equals(final Object obj) {
  if (this == obj)
    return true;
  if (obj == null)
    return false;
  if (getClass() != obj.getClass())
    return false;
  if (!super.equals(obj))
    return false;
  ReferenceParams other = (ReferenceParams) obj;
  if (this.context == null) {
    if (other.context != null)
      return false;
  } else if (!this.context.equals(other.context))
    return false;
  return true;
}
项目:lsp4j    文件:WorkspaceEditCapabilities.java   
@Override
@Pure
public boolean equals(final Object obj) {
  if (this == obj)
    return true;
  if (obj == null)
    return false;
  if (getClass() != obj.getClass())
    return false;
  WorkspaceEditCapabilities other = (WorkspaceEditCapabilities) obj;
  if (this.documentChanges == null) {
    if (other.documentChanges != null)
      return false;
  } else if (!this.documentChanges.equals(other.documentChanges))
    return false;
  return true;
}
项目:SOMns-vscode    文件:ShowMessageRequestParams.java   
@Override
@Pure
public boolean equals(final Object obj) {
  if (this == obj)
    return true;
  if (obj == null)
    return false;
  if (getClass() != obj.getClass())
    return false;
  if (!super.equals(obj))
    return false;
  ShowMessageRequestParams other = (ShowMessageRequestParams) obj;
  if (this.actions == null) {
    if (other.actions != null)
      return false;
  } else if (!this.actions.equals(other.actions))
    return false;
  return true;
}
项目:lsp4j    文件:NextArguments.java   
@Override
@Pure
public boolean equals(final Object obj) {
  if (this == obj)
    return true;
  if (obj == null)
    return false;
  if (getClass() != obj.getClass())
    return false;
  NextArguments other = (NextArguments) obj;
  if (this.threadId == null) {
    if (other.threadId != null)
      return false;
  } else if (!this.threadId.equals(other.threadId))
    return false;
  return true;
}
项目:SOMns-vscode    文件:CompletionRegistrationOptions.java   
@Override
@Pure
public boolean equals(final Object obj) {
  if (this == obj)
    return true;
  if (obj == null)
    return false;
  if (getClass() != obj.getClass())
    return false;
  if (!super.equals(obj))
    return false;
  CompletionRegistrationOptions other = (CompletionRegistrationOptions) obj;
  if (this.triggerCharacters == null) {
    if (other.triggerCharacters != null)
      return false;
  } else if (!this.triggerCharacters.equals(other.triggerCharacters))
    return false;
  if (this.resolveProvider == null) {
    if (other.resolveProvider != null)
      return false;
  } else if (!this.resolveProvider.equals(other.resolveProvider))
    return false;
  return true;
}
项目:lsp4j    文件:Module.java   
@Override
@Pure
public int hashCode() {
  final int prime = 31;
  int result = 1;
  result = prime * result + ((this.id== null) ? 0 : this.id.hashCode());
  result = prime * result + ((this.name== null) ? 0 : this.name.hashCode());
  result = prime * result + ((this.path== null) ? 0 : this.path.hashCode());
  result = prime * result + ((this.isOptimized== null) ? 0 : this.isOptimized.hashCode());
  result = prime * result + ((this.isUserCode== null) ? 0 : this.isUserCode.hashCode());
  result = prime * result + ((this.version== null) ? 0 : this.version.hashCode());
  result = prime * result + ((this.symbolStatus== null) ? 0 : this.symbolStatus.hashCode());
  result = prime * result + ((this.symbolFilePath== null) ? 0 : this.symbolFilePath.hashCode());
  result = prime * result + ((this.dateTimeStamp== null) ? 0 : this.dateTimeStamp.hashCode());
  result = prime * result + ((this.addressRange== null) ? 0 : this.addressRange.hashCode());
  return result;
}
项目:xtext-extras    文件:LeafInfo.java   
@Override
@Pure
public boolean equals(final Object obj) {
  if (this == obj)
    return true;
  if (obj == null)
    return false;
  if (getClass() != obj.getClass())
    return false;
  LeafInfo other = (LeafInfo) obj;
  if (this.container == null) {
    if (other.container != null)
      return false;
  } else if (!this.container.equals(other.container))
    return false;
  if (this.node == null) {
    if (other.node != null)
      return false;
  } else if (!this.node.equals(other.node))
    return false;
  if (other.newLines != this.newLines)
    return false;
  return true;
}
项目:lsp4j    文件:DocumentOnTypeFormattingRegistrationOptions.java   
@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();
}
项目:xtext-extras    文件:TypeResourceDescription.java   
@Override
@Pure
public int hashCode() {
  final int prime = 31;
  int result = 1;
  result = prime * result + ((this.qualifiedName== null) ? 0 : this.qualifiedName.hashCode());
  return result;
}
项目:lsp4j    文件:SynchronizationCapabilities.java   
@Override
@Pure
public boolean equals(final Object obj) {
  if (this == obj)
    return true;
  if (obj == null)
    return false;
  if (getClass() != obj.getClass())
    return false;
  if (!super.equals(obj))
    return false;
  SynchronizationCapabilities other = (SynchronizationCapabilities) obj;
  if (this.willSave == null) {
    if (other.willSave != null)
      return false;
  } else if (!this.willSave.equals(other.willSave))
    return false;
  if (this.willSaveWaitUntil == null) {
    if (other.willSaveWaitUntil != null)
      return false;
  } else if (!this.willSaveWaitUntil.equals(other.willSaveWaitUntil))
    return false;
  if (this.didSave == null) {
    if (other.didSave != null)
      return false;
  } else if (!this.didSave.equals(other.didSave))
    return false;
  return true;
}
项目:lsp4j    文件:RestartArguments.java   
@Override
@Pure
public boolean equals(final Object obj) {
  if (this == obj)
    return true;
  if (obj == null)
    return false;
  if (getClass() != obj.getClass())
    return false;
  return true;
}
项目:xtext-extras    文件:RegisteringFileSystemAccess.java   
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("path", this.path);
  b.add("javaClassName", this.javaClassName);
  b.add("contents", this.contents);
  return b.toString();
}
项目:xtext-core    文件:GuiceModuleAccess.java   
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("expression", this.expression);
  b.add("type", this.type);
  b.add("provider", this.provider);
  b.add("statements", this.statements);
  return b.toString();
}
项目:xtext-extras    文件:FormattingData.java   
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("offset", this.offset);
  b.add("length", this.length);
  b.add("increaseIndentationChange", this.increaseIndentationChange);
  b.add("decreaseIndentationChange", this.decreaseIndentationChange);
  b.add("trace", this.trace);
  return b.toString();
}
项目:lsp4j    文件:SignatureHelp.java   
@Override
@Pure
public int hashCode() {
  final int prime = 31;
  int result = 1;
  result = prime * result + ((this.signatures== null) ? 0 : this.signatures.hashCode());
  result = prime * result + ((this.activeSignature== null) ? 0 : this.activeSignature.hashCode());
  result = prime * result + ((this.activeParameter== null) ? 0 : this.activeParameter.hashCode());
  return result;
}
项目:lsp4j    文件:LaunchRequestArguments.java   
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("noDebug", this.noDebug);
  return b.toString();
}
项目:SOMns-vscode    文件:CodeActionCapabilities.java   
@Override
@Pure
public boolean equals(final Object obj) {
  if (this == obj)
    return true;
  if (obj == null)
    return false;
  if (getClass() != obj.getClass())
    return false;
  if (!super.equals(obj))
    return false;
  return true;
}
项目:SOMns-vscode    文件:RegistrationParams.java   
@Override
@Pure
public int hashCode() {
  final int prime = 31;
  int result = 1;
  result = prime * result + ((this.registrations== null) ? 0 : this.registrations.hashCode());
  return result;
}
项目:lsp4j    文件:DidSaveTextDocumentParams.java   
@Override
@Pure
public int hashCode() {
  final int prime = 31;
  int result = 1;
  result = prime * result + ((this.textDocument== null) ? 0 : this.textDocument.hashCode());
  result = prime * result + ((this.text== null) ? 0 : this.text.hashCode());
  return result;
}
项目:lsp4j    文件:SourceResponse.java   
@Override
@Pure
public int hashCode() {
  final int prime = 31;
  int result = 1;
  result = prime * result + ((this.content== null) ? 0 : this.content.hashCode());
  result = prime * result + ((this.mimeType== null) ? 0 : this.mimeType.hashCode());
  return result;
}
项目:lsp4j    文件:ScopesArguments.java   
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("frameId", this.frameId);
  return b.toString();
}
项目:lsp4j    文件:GotoTargetsArguments.java   
@Override
@Pure
public int hashCode() {
  final int prime = 31;
  int result = 1;
  result = prime * result + ((this.source== null) ? 0 : this.source.hashCode());
  result = prime * result + ((this.line== null) ? 0 : this.line.hashCode());
  result = prime * result + ((this.column== null) ? 0 : this.column.hashCode());
  return result;
}
项目:xtext-extras    文件:TextReplacement.java   
@Override
@Pure
public int hashCode() {
  final int prime = 31;
  int result = 1;
  result = prime * result + this.offset;
  result = prime * result + this.length;
  result = prime * result + ((this.text== null) ? 0 : this.text.hashCode());
  return result;
}
项目:lsp4j    文件:StepInTarget.java   
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("id", this.id);
  b.add("label", this.label);
  return b.toString();
}
项目:SOMns-vscode    文件:DocumentOnTypeFormattingOptions.java   
@Override
@Pure
public int hashCode() {
  final int prime = 31;
  int result = 1;
  result = prime * result + ((this.firstTriggerCharacter== null) ? 0 : this.firstTriggerCharacter.hashCode());
  result = prime * result + ((this.moreTriggerCharacter== null) ? 0 : this.moreTriggerCharacter.hashCode());
  return result;
}
项目:xtext-core    文件:CliWizardIntegrationTest.java   
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("relativePath", this.relativePath);
  b.add("content", this.content);
  return b.toString();
}
项目:lsp4j    文件:DidChangeWorkspaceFoldersParams.java   
@Override
@Pure
public int hashCode() {
  final int prime = 31;
  int result = 1;
  result = prime * result + ((this.event== null) ? 0 : this.event.hashCode());
  return result;
}
项目:SOMns-vscode    文件:SignatureHelp.java   
@Override
@Pure
public int hashCode() {
  final int prime = 31;
  int result = 1;
  result = prime * result + ((this.signatures== null) ? 0 : this.signatures.hashCode());
  result = prime * result + ((this.activeSignature== null) ? 0 : this.activeSignature.hashCode());
  result = prime * result + ((this.activeParameter== null) ? 0 : this.activeParameter.hashCode());
  return result;
}
项目:lsp4j    文件:PublishDiagnosticsParams.java   
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("uri", this.uri);
  b.add("diagnostics", this.diagnostics);
  return b.toString();
}
项目:lsp4j    文件:ApplyWorkspaceEditParams.java   
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("edit", this.edit);
  return b.toString();
}
项目:SOMns-vscode    文件:SymbolInformation.java   
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("name", this.name);
  b.add("kind", this.kind);
  b.add("location", this.location);
  b.add("containerName", this.containerName);
  return b.toString();
}
项目:lsp4j    文件:DocumentLinkRegistrationOptions.java   
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("resolveProvider", this.resolveProvider);
  b.add("documentSelector", getDocumentSelector());
  return b.toString();
}
项目:SOMns-vscode    文件:DocumentFilter.java   
@Override
@Pure
public boolean equals(final Object obj) {
  if (this == obj)
    return true;
  if (obj == null)
    return false;
  if (getClass() != obj.getClass())
    return false;
  DocumentFilter other = (DocumentFilter) obj;
  if (this.language == null) {
    if (other.language != null)
      return false;
  } else if (!this.language.equals(other.language))
    return false;
  if (this.schema == null) {
    if (other.schema != null)
      return false;
  } else if (!this.schema.equals(other.schema))
    return false;
  if (this.pattern == null) {
    if (other.pattern != null)
      return false;
  } else if (!this.pattern.equals(other.pattern))
    return false;
  return true;
}
项目:xtext-core    文件:DecoratedImageDescription.java   
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("baseImage", this.baseImage);
  b.add("decorators", this.decorators);
  return b.toString();
}
项目:lsp4j    文件:Checksum.java   
@Override
@Pure
public int hashCode() {
  final int prime = 31;
  int result = 1;
  result = prime * result + ((this.algorithm== null) ? 0 : this.algorithm.hashCode());
  result = prime * result + ((this.checksum== null) ? 0 : this.checksum.hashCode());
  return result;
}
项目:SOMns-vscode    文件:ExecuteCommandCapabilities.java   
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("dynamicRegistration", getDynamicRegistration());
  return b.toString();
}