in sarif/src/main/java/com/jetbrains/qodana/sarif/model/Attachment.java [204:214]
public boolean equals(Object other) {
if (other == this) {
return true;
}
if (!(other instanceof Attachment)) {
return false;
}
Attachment rhs = ((Attachment) other);
//noinspection ConstantValue,EqualsReplaceableByObjectsCall,StringEquality,NumberEquality
return ((((((this.description == rhs.description) || ((this.description != null) && this.description.equals(rhs.description))) && ((this.regions == rhs.regions) || ((this.regions != null) && this.regions.equals(rhs.regions)))) && ((this.rectangles == rhs.rectangles) || ((this.rectangles != null) && this.rectangles.equals(rhs.rectangles)))) && ((this.artifactLocation == rhs.artifactLocation) || ((this.artifactLocation != null) && this.artifactLocation.equals(rhs.artifactLocation)))) && ((this.properties == rhs.properties) || ((this.properties != null) && this.properties.equals(rhs.properties))));
}