package g.h0.c;

/* JADX INFO: compiled from: PropertyReference.java */
/* JADX INFO: loaded from: classes.dex */
public abstract class w extends c implements g.k0.i {
    private final boolean syntheticJavaProperty;

    public w() {
        this.syntheticJavaProperty = false;
    }

    @Override // g.h0.c.c
    public g.k0.b compute() {
        return this.syntheticJavaProperty ? this : super.compute();
    }

    public boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (obj instanceof w) {
            w wVar = (w) obj;
            return getOwner().equals(wVar.getOwner()) && getName().equals(wVar.getName()) && getSignature().equals(wVar.getSignature()) && l.a(getBoundReceiver(), wVar.getBoundReceiver());
        }
        if (obj instanceof g.k0.i) {
            return obj.equals(compute());
        }
        return false;
    }

    public int hashCode() {
        return getSignature().hashCode() + ((getName().hashCode() + (getOwner().hashCode() * 31)) * 31);
    }

    @Override // g.k0.i
    public boolean isConst() {
        return getReflected().isConst();
    }

    @Override // g.k0.i
    public boolean isLateinit() {
        return getReflected().isLateinit();
    }

    public String toString() {
        g.k0.b bVarCompute = compute();
        if (bVarCompute != this) {
            return bVarCompute.toString();
        }
        StringBuilder sbB = d.b.a.a.a.B("property ");
        sbB.append(getName());
        sbB.append(" (Kotlin reflection is not available)");
        return sbB.toString();
    }

    @Override // g.h0.c.c
    public g.k0.i getReflected() {
        if (this.syntheticJavaProperty) {
            throw new UnsupportedOperationException("Kotlin reflection is not yet supported for synthetic Java properties");
        }
        return (g.k0.i) super.getReflected();
    }

    public w(Object obj) {
        super(obj);
        this.syntheticJavaProperty = false;
    }

    public w(Object obj, Class cls, String str, String str2, int i2) {
        super(obj, cls, str, str2, (i2 & 1) == 1);
        this.syntheticJavaProperty = (i2 & 2) == 2;
    }
}
