package g;

import java.lang.reflect.Type;

/* JADX INFO: loaded from: classes.dex */
public class h {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public Object f3984a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final h f3985b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final Object f3986c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final int f3987d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public Type f3988e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    private transient String f3989f;

    public h(h hVar, Object obj, Object obj2) {
        this.f3985b = hVar;
        this.f3984a = obj;
        this.f3986c = obj2;
        this.f3987d = hVar == null ? 0 : hVar.f3987d + 1;
    }

    public String toString() {
        if (this.f3989f == null) {
            if (this.f3985b == null) {
                this.f3989f = "$";
            } else if (this.f3986c instanceof Integer) {
                this.f3989f = this.f3985b.toString() + "[" + this.f3986c + "]";
            } else {
                this.f3989f = this.f3985b.toString() + "." + this.f3986c;
            }
        }
        return this.f3989f;
    }
}
