package a.i.b.a.a;

import a.a.e;
import a.f;
import a.f.b.j;
import a.i.b.a.a.b.a;
import a.i.b.a.x;
import a.i.k;
import a.l;
import com.google.firebase.analytics.FirebaseAnalytics$b;
import com.tencent.matrix.trace.core.AppMethodBeat;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
import java.util.Map;

@l(dWo = {1, 1, 13}, dWp = {"\u0000\u0018\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0011\n\u0002\b\u0002\u0010\u0000\u001a\u0004\u0018\u00010\u0001\"\b\b\u0000\u0010\u0002*\u00020\u00012\u000e\u0010\u0003\u001a\n \u0004*\u0004\u0018\u00010\u00010\u00012\u000e\u0010\u0005\u001a\n \u0004*\u0004\u0018\u00010\u00060\u00062,\u0010\u0007\u001a(\u0012\f\u0012\n \u0004*\u0004\u0018\u00010\u00010\u0001 \u0004*\u0014\u0012\u000e\b\u0001\u0012\n \u0004*\u0004\u0018\u00010\u00010\u0001\u0018\u00010\b0\bH\n¢\u0006\u0004\b\t\u0010\n"}, dWq = {"<anonymous>", "", "T", "<anonymous parameter 0>", "kotlin.jvm.PlatformType", "method", "Ljava/lang/reflect/Method;", "args", "", "invoke", "(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;"})
final class b$c implements InvocationHandler {
    final /* synthetic */ Class AYS;
    final /* synthetic */ Map AYU;
    final /* synthetic */ f AYV;
    final /* synthetic */ k AYW;
    final /* synthetic */ f AYX;
    final /* synthetic */ k AYY;
    final /* synthetic */ a AYZ;

    b$c(Class cls, f fVar, k kVar, f fVar2, k kVar2, a aVar, Map map) {
        this.AYS = cls;
        this.AYV = fVar;
        this.AYW = kVar;
        this.AYX = fVar2;
        this.AYY = kVar2;
        this.AYZ = aVar;
        this.AYU = map;
    }

    public final Object invoke(Object obj, Method method, Object[] objArr) {
        Object value;
        AppMethodBeat.i(118962);
        j.o(method, FirebaseAnalytics$b.METHOD);
        String name = method.getName();
        if (name != null) {
            switch (name.hashCode()) {
                case -1776922004:
                    if (name.equals("toString")) {
                        value = this.AYV.getValue();
                        AppMethodBeat.o(118962);
                        return value;
                    }
                    break;
                case 147696667:
                    if (name.equals("hashCode")) {
                        value = this.AYX.getValue();
                        AppMethodBeat.o(118962);
                        return value;
                    }
                    break;
                case 1444986633:
                    if (name.equals("annotationType")) {
                        value = this.AYS;
                        AppMethodBeat.o(118962);
                        return value;
                    }
                    break;
            }
        }
        if (j.j(name, "equals") && objArr != null && objArr.length == 1) {
            Boolean valueOf = Boolean.valueOf(this.AYZ.dy(e.O(objArr)));
            AppMethodBeat.o(118962);
            return valueOf;
        } else if (this.AYU.containsKey(name)) {
            value = this.AYU.get(name);
            AppMethodBeat.o(118962);
            return value;
        } else {
            StringBuilder append = new StringBuilder("Method is not supported: ").append(method).append(" (args: ");
            if (objArr == null) {
                objArr = new Object[0];
            }
            Throwable th = (Throwable) new x(append.append(e.Q(objArr)).append(')').toString());
            AppMethodBeat.o(118962);
            throw th;
        }
    }
}
