public boolean equals()

in sarif/src/main/java/com/jetbrains/qodana/sarif/model/PhysicalLocation.java [185:195]


    public boolean equals(Object other) {
        if (other == this) {
            return true;
        }
        if (!(other instanceof PhysicalLocation)) {
            return false;
        }
        PhysicalLocation rhs = ((PhysicalLocation) other);
        //noinspection ConstantValue,EqualsReplaceableByObjectsCall,StringEquality,NumberEquality
        return ((((((this.contextRegion == rhs.contextRegion) || ((this.contextRegion != null) && this.contextRegion.equals(rhs.contextRegion))) && ((this.address == rhs.address) || ((this.address != null) && this.address.equals(rhs.address)))) && ((this.region == rhs.region) || ((this.region != null) && this.region.equals(rhs.region)))) && ((this.artifactLocation == rhs.artifactLocation) || ((this.artifactLocation != null) && this.artifactLocation.equals(rhs.artifactLocation)))) && ((this.properties == rhs.properties) || ((this.properties != null) && this.properties.equals(rhs.properties))));
    }