public boolean equals()

in sarif/src/main/java/com/jetbrains/qodana/sarif/model/ToolComponentReference.java [155:165]


    public boolean equals(Object other) {
        if (other == this) {
            return true;
        }
        if (!(other instanceof ToolComponentReference)) {
            return false;
        }
        ToolComponentReference rhs = ((ToolComponentReference) other);
        //noinspection ConstantValue,EqualsReplaceableByObjectsCall,StringEquality,NumberEquality
        return (((((this.name == rhs.name) || ((this.name != null) && this.name.equals(rhs.name))) && ((this.index == rhs.index) || ((this.index != null) && this.index.equals(rhs.index)))) && ((this.guid == rhs.guid) || ((this.guid != null) && this.guid.equals(rhs.guid)))) && ((this.properties == rhs.properties) || ((this.properties != null) && this.properties.equals(rhs.properties))));
    }