package kotlin.reflect.jvm.internal.impl.serialization.deserialization;

import defpackage.cr4;
import defpackage.kp6;
import defpackage.pq6;
import defpackage.vw2;
import kotlin.reflect.jvm.internal.impl.name.ClassId;

/* JADX INFO: loaded from: classes3.dex */
public final class IncompatibleVersionErrorData<T> {
    private final T actualVersion;

    @kp6
    private final ClassId classId;
    private final T compilerVersion;
    private final T expectedVersion;

    @kp6
    private final String filePath;
    private final T languageVersion;

    public IncompatibleVersionErrorData(T t, T t2, T t3, T t4, @kp6 String str, @kp6 ClassId classId) {
        cr4.g(str, "filePath");
        cr4.g(classId, "classId");
        this.actualVersion = t;
        this.compilerVersion = t2;
        this.languageVersion = t3;
        this.expectedVersion = t4;
        this.filePath = str;
        this.classId = classId;
    }

    public boolean equals(@pq6 Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof IncompatibleVersionErrorData)) {
            return false;
        }
        IncompatibleVersionErrorData incompatibleVersionErrorData = (IncompatibleVersionErrorData) obj;
        return cr4.b(this.actualVersion, incompatibleVersionErrorData.actualVersion) && cr4.b(this.compilerVersion, incompatibleVersionErrorData.compilerVersion) && cr4.b(this.languageVersion, incompatibleVersionErrorData.languageVersion) && cr4.b(this.expectedVersion, incompatibleVersionErrorData.expectedVersion) && cr4.b(this.filePath, incompatibleVersionErrorData.filePath) && cr4.b(this.classId, incompatibleVersionErrorData.classId);
    }

    public int hashCode() {
        T t = this.actualVersion;
        int iHashCode = (t == null ? 0 : t.hashCode()) * 31;
        T t2 = this.compilerVersion;
        int iHashCode2 = (iHashCode + (t2 == null ? 0 : t2.hashCode())) * 31;
        T t3 = this.languageVersion;
        int iHashCode3 = (iHashCode2 + (t3 == null ? 0 : t3.hashCode())) * 31;
        T t4 = this.expectedVersion;
        return this.classId.hashCode() + vw2.b((iHashCode3 + (t4 != null ? t4.hashCode() : 0)) * 31, 31, this.filePath);
    }

    @kp6
    public String toString() {
        return "IncompatibleVersionErrorData(actualVersion=" + this.actualVersion + ", compilerVersion=" + this.compilerVersion + ", languageVersion=" + this.languageVersion + ", expectedVersion=" + this.expectedVersion + ", filePath=" + this.filePath + ", classId=" + this.classId + ')';
    }
}
