org.eclipse.xtext.xbase.lib.Pure Java Examples
The following examples show how to use
org.eclipse.xtext.xbase.lib.Pure.
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: DiagnosticRelatedInformation.java From build-server-protocol with Apache License 2.0 | 6 votes |
@Override @Pure public boolean equals(final Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; DiagnosticRelatedInformation other = (DiagnosticRelatedInformation) obj; if (this.location == null) { if (other.location != null) return false; } else if (!this.location.equals(other.location)) return false; if (this.message == null) { if (other.message != null) return false; } else if (!this.message.equals(other.message)) return false; return true; }
Example #2
Source File: WorkspaceBuildTargetsResult.java From build-server-protocol with Apache License 2.0 | 6 votes |
@Override @Pure public boolean equals(final Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; WorkspaceBuildTargetsResult other = (WorkspaceBuildTargetsResult) obj; if (this.targets == null) { if (other.targets != null) return false; } else if (!this.targets.equals(other.targets)) return false; return true; }
Example #3
Source File: JvmTestEnvironmentParams.java From build-server-protocol with Apache License 2.0 | 6 votes |
@Override @Pure public boolean equals(final Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; JvmTestEnvironmentParams other = (JvmTestEnvironmentParams) obj; if (this.targets == null) { if (other.targets != null) return false; } else if (!this.targets.equals(other.targets)) return false; return true; }
Example #4
Source File: CleanCacheParams.java From build-server-protocol with Apache License 2.0 | 6 votes |
@Override @Pure public boolean equals(final Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; CleanCacheParams other = (CleanCacheParams) obj; if (this.targets == null) { if (other.targets != null) return false; } else if (!this.targets.equals(other.targets)) return false; return true; }
Example #5
Source File: DependencySourcesItem.java From build-server-protocol with Apache License 2.0 | 6 votes |
@Override @Pure public boolean equals(final Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; DependencySourcesItem other = (DependencySourcesItem) obj; if (this.target == null) { if (other.target != null) return false; } else if (!this.target.equals(other.target)) return false; if (this.sources == null) { if (other.sources != null) return false; } else if (!this.sources.equals(other.sources)) return false; return true; }
Example #6
Source File: TestStart.java From build-server-protocol with Apache License 2.0 | 6 votes |
@Override @Pure public boolean equals(final Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; TestStart other = (TestStart) obj; if (this.displayName == null) { if (other.displayName != null) return false; } else if (!this.displayName.equals(other.displayName)) return false; if (this.location == null) { if (other.location != null) return false; } else if (!this.location.equals(other.location)) return false; return true; }
Example #7
Source File: InverseSourcesResult.java From build-server-protocol with Apache License 2.0 | 6 votes |
@Override @Pure public boolean equals(final Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; InverseSourcesResult other = (InverseSourcesResult) obj; if (this.targets == null) { if (other.targets != null) return false; } else if (!this.targets.equals(other.targets)) return false; return true; }
Example #8
Source File: ExtendedCodeLensCapabilities.java From lemminx with Eclipse Public License 2.0 | 6 votes |
@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; ExtendedCodeLensCapabilities other = (ExtendedCodeLensCapabilities) obj; if (this.codeLensKind == null) { if (other.codeLensKind != null) return false; } else if (!this.codeLensKind.equals(other.codeLensKind)) return false; return true; }
Example #9
Source File: ScalaTestClassesParams.java From build-server-protocol with Apache License 2.0 | 5 votes |
@Override @Pure public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((this.targets== null) ? 0 : this.targets.hashCode()); return prime * result + ((this.originId== null) ? 0 : this.originId.hashCode()); }
Example #10
Source File: ScalaMainClassesResult.java From build-server-protocol with Apache License 2.0 | 5 votes |
@Override @Pure public String toString() { ToStringBuilder b = new ToStringBuilder(this); b.add("items", this.items); return b.toString(); }
Example #11
Source File: SourcesResult.java From build-server-protocol with Apache License 2.0 | 5 votes |
@Override @Pure public String toString() { ToStringBuilder b = new ToStringBuilder(this); b.add("items", this.items); return b.toString(); }
Example #12
Source File: ScalaMainClass.java From build-server-protocol with Apache License 2.0 | 5 votes |
@Override @Pure public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((this.className== null) ? 0 : this.className.hashCode()); result = prime * result + ((this.arguments== null) ? 0 : this.arguments.hashCode()); result = prime * result + ((this.jvmOptions== null) ? 0 : this.jvmOptions.hashCode()); return prime * result + ((this.environmentVariables== null) ? 0 : this.environmentVariables.hashCode()); }
Example #13
Source File: SourcesItem.java From build-server-protocol with Apache License 2.0 | 5 votes |
@Override @Pure public boolean equals(final Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; SourcesItem other = (SourcesItem) obj; if (this.target == null) { if (other.target != null) return false; } else if (!this.target.equals(other.target)) return false; if (this.sources == null) { if (other.sources != null) return false; } else if (!this.sources.equals(other.sources)) return false; if (this.roots == null) { if (other.roots != null) return false; } else if (!this.roots.equals(other.roots)) return false; return true; }
Example #14
Source File: CompileReport.java From build-server-protocol with Apache License 2.0 | 5 votes |
@Override @Pure public boolean equals(final Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; CompileReport other = (CompileReport) obj; if (this.target == null) { if (other.target != null) return false; } else if (!this.target.equals(other.target)) return false; if (this.originId == null) { if (other.originId != null) return false; } else if (!this.originId.equals(other.originId)) return false; if (this.errors == null) { if (other.errors != null) return false; } else if (!this.errors.equals(other.errors)) return false; if (this.warnings == null) { if (other.warnings != null) return false; } else if (!this.warnings.equals(other.warnings)) return false; if (this.time == null) { if (other.time != null) return false; } else if (!this.time.equals(other.time)) return false; return true; }
Example #15
Source File: TaskStartParams.java From build-server-protocol with Apache License 2.0 | 5 votes |
@Override @Pure public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((this.taskId== null) ? 0 : this.taskId.hashCode()); result = prime * result + ((this.eventTime== null) ? 0 : this.eventTime.hashCode()); result = prime * result + ((this.message== null) ? 0 : this.message.hashCode()); result = prime * result + ((this.dataKind== null) ? 0 : this.dataKind.hashCode()); return prime * result + ((this.data== null) ? 0 : this.data.hashCode()); }
Example #16
Source File: CompileTask.java From build-server-protocol with Apache License 2.0 | 5 votes |
@Override @Pure public String toString() { ToStringBuilder b = new ToStringBuilder(this); b.add("target", this.target); return b.toString(); }
Example #17
Source File: ResourcesParams.java From build-server-protocol with Apache License 2.0 | 5 votes |
@Override @Pure public String toString() { ToStringBuilder b = new ToStringBuilder(this); b.add("targets", this.targets); return b.toString(); }
Example #18
Source File: DebugSessionAddress.java From build-server-protocol with Apache License 2.0 | 5 votes |
@Override @Pure public String toString() { ToStringBuilder b = new ToStringBuilder(this); b.add("uri", this.uri); return b.toString(); }
Example #19
Source File: ScalaTestParams.java From build-server-protocol with Apache License 2.0 | 5 votes |
@Override @Pure public String toString() { ToStringBuilder b = new ToStringBuilder(this); b.add("testClasses", this.testClasses); return b.toString(); }
Example #20
Source File: SourcesItem.java From build-server-protocol with Apache License 2.0 | 5 votes |
@Override @Pure public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((this.target== null) ? 0 : this.target.hashCode()); result = prime * result + ((this.sources== null) ? 0 : this.sources.hashCode()); return prime * result + ((this.roots== null) ? 0 : this.roots.hashCode()); }
Example #21
Source File: JvmTestEnvironmentParams.java From build-server-protocol with Apache License 2.0 | 5 votes |
@Override @Pure public String toString() { ToStringBuilder b = new ToStringBuilder(this); b.add("targets", this.targets); return b.toString(); }
Example #22
Source File: ShowMessageParams.java From build-server-protocol with Apache License 2.0 | 5 votes |
@Override @Pure public boolean equals(final Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; ShowMessageParams other = (ShowMessageParams) obj; if (this.type == null) { if (other.type != null) return false; } else if (!this.type.equals(other.type)) return false; if (this.task == null) { if (other.task != null) return false; } else if (!this.task.equals(other.task)) return false; if (this.originId == null) { if (other.originId != null) return false; } else if (!this.originId.equals(other.originId)) return false; if (this.message == null) { if (other.message != null) return false; } else if (!this.message.equals(other.message)) return false; return true; }
Example #23
Source File: TestResult.java From build-server-protocol with Apache License 2.0 | 5 votes |
@Override @Pure public boolean equals(final Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; TestResult other = (TestResult) obj; if (this.originId == null) { if (other.originId != null) return false; } else if (!this.originId.equals(other.originId)) return false; if (this.dataKind == null) { if (other.dataKind != null) return false; } else if (!this.dataKind.equals(other.dataKind)) return false; if (this.data == null) { if (other.data != null) return false; } else if (!this.data.equals(other.data)) return false; if (this.statusCode == null) { if (other.statusCode != null) return false; } else if (!this.statusCode.equals(other.statusCode)) return false; return true; }
Example #24
Source File: SourcesParams.java From build-server-protocol with Apache License 2.0 | 5 votes |
@Override @Pure public String toString() { ToStringBuilder b = new ToStringBuilder(this); b.add("targets", this.targets); return b.toString(); }
Example #25
Source File: CompileResult.java From build-server-protocol with Apache License 2.0 | 5 votes |
@Override @Pure public boolean equals(final Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; CompileResult other = (CompileResult) obj; if (this.originId == null) { if (other.originId != null) return false; } else if (!this.originId.equals(other.originId)) return false; if (this.dataKind == null) { if (other.dataKind != null) return false; } else if (!this.dataKind.equals(other.dataKind)) return false; if (this.data == null) { if (other.data != null) return false; } else if (!this.data.equals(other.data)) return false; if (this.statusCode == null) { if (other.statusCode != null) return false; } else if (!this.statusCode.equals(other.statusCode)) return false; return true; }
Example #26
Source File: CompileResult.java From build-server-protocol with Apache License 2.0 | 5 votes |
@Override @Pure public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((this.originId== null) ? 0 : this.originId.hashCode()); result = prime * result + ((this.dataKind== null) ? 0 : this.dataKind.hashCode()); result = prime * result + ((this.data== null) ? 0 : this.data.hashCode()); return prime * result + ((this.statusCode== null) ? 0 : this.statusCode.hashCode()); }
Example #27
Source File: TestTask.java From build-server-protocol with Apache License 2.0 | 5 votes |
@Override @Pure public String toString() { ToStringBuilder b = new ToStringBuilder(this); b.add("target", this.target); return b.toString(); }
Example #28
Source File: InverseSourcesResult.java From build-server-protocol with Apache License 2.0 | 5 votes |
@Override @Pure public String toString() { ToStringBuilder b = new ToStringBuilder(this); b.add("targets", this.targets); return b.toString(); }
Example #29
Source File: Range.java From build-server-protocol with Apache License 2.0 | 5 votes |
@Override @Pure public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((this.start== null) ? 0 : this.start.hashCode()); return prime * result + ((this.end== null) ? 0 : this.end.hashCode()); }
Example #30
Source File: ScalaBuildTarget.java From build-server-protocol with Apache License 2.0 | 5 votes |
@Override @Pure public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((this.scalaOrganization== null) ? 0 : this.scalaOrganization.hashCode()); result = prime * result + ((this.scalaVersion== null) ? 0 : this.scalaVersion.hashCode()); result = prime * result + ((this.scalaBinaryVersion== null) ? 0 : this.scalaBinaryVersion.hashCode()); result = prime * result + ((this.platform== null) ? 0 : this.platform.hashCode()); result = prime * result + ((this.jars== null) ? 0 : this.jars.hashCode()); return prime * result + ((this.jvmBuildTarget== null) ? 0 : this.jvmBuildTarget.hashCode()); }