if (affectedMethod != null ? !affectedMethod.equals(other.affectedMethod) : other.affectedMethod != null)
final String otherMethod = other.affectedMethod; if (affectedMethod != null ? !affectedMethod.equals(otherMethod) : otherMethod != null)
    public boolean equals(Object o)    {        if (this == o)        {            return true;        }        if (!(o instanceof ApiDifference))        {            return false;        }        final ApiDifference other = (ApiDifference) o;        if (report != null ? !report.equals(other.report) : other.report != null)        {            return false;        }        if (severity != null ? !severity.equals(other.severity) : other.severity != null)        {            return false;        }        if (affectedClass != null ? !affectedClass.equals(other.affectedClass) : other.affectedClass != null)        {            return false;        }        if (affectedMethod != null ? !affectedMethod.equals(other.affectedMethod) : other.affectedMethod != null)        {            return false;        }        if (affectedField != null ? !affectedField.equals(other.affectedField) : other.affectedField != null)        {            return false;        }        return true;    }