package w1;

import java.io.Serializable;

/* JADX INFO: compiled from: CallableReference.java */
/* JADX INFO: loaded from: classes.dex */
public abstract class a implements a2.a, Serializable {

    /* JADX INFO: renamed from: k, reason: collision with root package name */
    public static final Object f5877k = C0084a.f5884e;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    private transient a2.a f5878e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    protected final Object f5879f;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    private final Class f5880g;

    /* JADX INFO: renamed from: h, reason: collision with root package name */
    private final String f5881h;

    /* JADX INFO: renamed from: i, reason: collision with root package name */
    private final String f5882i;

    /* JADX INFO: renamed from: j, reason: collision with root package name */
    private final boolean f5883j;

    /* JADX INFO: renamed from: w1.a$a, reason: collision with other inner class name */
    /* JADX INFO: compiled from: CallableReference.java */
    private static class C0084a implements Serializable {

        /* JADX INFO: renamed from: e, reason: collision with root package name */
        private static final C0084a f5884e = new C0084a();

        private C0084a() {
        }
    }

    public a() {
        this(f5877k);
    }

    public a2.a c() {
        a2.a aVar = this.f5878e;
        if (aVar != null) {
            return aVar;
        }
        a2.a aVarD = d();
        this.f5878e = aVarD;
        return aVarD;
    }

    protected abstract a2.a d();

    public Object e() {
        return this.f5879f;
    }

    public String f() {
        return this.f5881h;
    }

    public a2.c g() {
        Class cls = this.f5880g;
        if (cls == null) {
            return null;
        }
        return this.f5883j ? m.b(cls) : m.a(cls);
    }

    public String h() {
        return this.f5882i;
    }

    protected a(Object obj) {
        this(obj, null, null, null, false);
    }

    protected a(Object obj, Class cls, String str, String str2, boolean z2) {
        this.f5879f = obj;
        this.f5880g = cls;
        this.f5881h = str;
        this.f5882i = str2;
        this.f5883j = z2;
    }
}
