package pr;

import com.google.gson.d;
import java.lang.annotation.Annotation;
import java.lang.reflect.Type;
import or.f;
import or.u;

/* loaded from: classes5.dex */
public final class a extends f.a {

    /* renamed from: a, reason: collision with root package name */
    private final d f33074a;

    private a(d dVar) {
        this.f33074a = dVar;
    }

    public static a f() {
        return g(new d());
    }

    public static a g(d dVar) {
        if (dVar != null) {
            return new a(dVar);
        }
        throw new NullPointerException("gson == null");
    }

    @Override // or.f.a
    public f c(Type type, Annotation[] annotationArr, Annotation[] annotationArr2, u uVar) {
        return new b(this.f33074a, this.f33074a.m(com.google.gson.reflect.a.get(type)));
    }

    @Override // or.f.a
    public f d(Type type, Annotation[] annotationArr, u uVar) {
        return new c(this.f33074a, this.f33074a.m(com.google.gson.reflect.a.get(type)));
    }
}
