You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

179 lines
7.0 KiB

package p039m1;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import p006b1.C0475e;
import p006b1.C0481i;
import p009c1.C0502g;
import p009c1.C0503h;
import p009c1.C0517v;
import p009c1.C0518w;
import p033k1.C1350a;
import p036l1.InterfaceC1421a;
import p036l1.InterfaceC1422b;
import p036l1.InterfaceC1423c;
import p036l1.InterfaceC1424d;
import p036l1.InterfaceC1425e;
import p036l1.InterfaceC1426f;
import p036l1.InterfaceC1427g;
import p036l1.InterfaceC1428h;
import p036l1.InterfaceC1429i;
import p036l1.InterfaceC1430j;
import p036l1.InterfaceC1431k;
import p036l1.InterfaceC1432l;
import p036l1.InterfaceC1433m;
import p036l1.InterfaceC1434n;
import p036l1.InterfaceC1435o;
import p036l1.InterfaceC1436p;
import p036l1.InterfaceC1437q;
import p036l1.InterfaceC1438r;
import p036l1.InterfaceC1439s;
import p036l1.InterfaceC1440t;
import p036l1.InterfaceC1441u;
import p036l1.InterfaceC1442v;
import p036l1.InterfaceC1443w;
import p051q1.InterfaceC1566b;
import p057s1.C1631m;
/* renamed from: m1.c */
/* loaded from: classes.dex */
public final class C1465c implements InterfaceC1566b<Object>, InterfaceC1464b {
/* renamed from: b */
public static final C1466a f3215b = new C1466a(null);
/* renamed from: c */
public static final Map<Class<Object>, Integer> f3216c;
/* renamed from: d */
public static final HashMap<String, String> f3217d;
/* renamed from: e */
public static final HashMap<String, String> f3218e;
/* renamed from: f */
public static final HashMap<String, String> f3219f;
/* renamed from: g */
public static final Map<String, String> f3220g;
/* renamed from: a */
public final Class<?> f3221a;
/* renamed from: m1.c$a */
/* loaded from: classes.dex */
public static final class C1466a {
public C1466a() {
}
public /* synthetic */ C1466a(C1468e c1468e) {
this();
}
}
/* JADX WARN: Multi-variable type inference failed */
static {
int i = 0;
List m3608c = C0502g.m3608c(InterfaceC1421a.class, InterfaceC1432l.class, InterfaceC1436p.class, InterfaceC1437q.class, InterfaceC1438r.class, InterfaceC1439s.class, InterfaceC1440t.class, InterfaceC1441u.class, InterfaceC1442v.class, InterfaceC1443w.class, InterfaceC1422b.class, InterfaceC1423c.class, InterfaceC1424d.class, InterfaceC1425e.class, InterfaceC1426f.class, InterfaceC1427g.class, InterfaceC1428h.class, InterfaceC1429i.class, InterfaceC1430j.class, InterfaceC1431k.class, InterfaceC1433m.class, InterfaceC1434n.class, InterfaceC1435o.class);
ArrayList arrayList = new ArrayList(C0503h.m3605f(m3608c, 10));
for (Object obj : m3608c) {
int i2 = i + 1;
if (i < 0) {
C0502g.m3606e();
}
arrayList.add(C0481i.m3620a((Class) obj, Integer.valueOf(i)));
i = i2;
}
f3216c = C0518w.m3575g(arrayList);
HashMap<String, String> hashMap = new HashMap<>();
hashMap.put("boolean", "kotlin.Boolean");
hashMap.put("char", "kotlin.Char");
hashMap.put("byte", "kotlin.Byte");
hashMap.put("short", "kotlin.Short");
hashMap.put("int", "kotlin.Int");
hashMap.put("float", "kotlin.Float");
hashMap.put("long", "kotlin.Long");
hashMap.put("double", "kotlin.Double");
f3217d = hashMap;
HashMap<String, String> hashMap2 = new HashMap<>();
hashMap2.put("java.lang.Boolean", "kotlin.Boolean");
hashMap2.put("java.lang.Character", "kotlin.Char");
hashMap2.put("java.lang.Byte", "kotlin.Byte");
hashMap2.put("java.lang.Short", "kotlin.Short");
hashMap2.put("java.lang.Integer", "kotlin.Int");
hashMap2.put("java.lang.Float", "kotlin.Float");
hashMap2.put("java.lang.Long", "kotlin.Long");
hashMap2.put("java.lang.Double", "kotlin.Double");
f3218e = hashMap2;
HashMap<String, String> hashMap3 = new HashMap<>();
hashMap3.put("java.lang.Object", "kotlin.Any");
hashMap3.put("java.lang.String", "kotlin.String");
hashMap3.put("java.lang.CharSequence", "kotlin.CharSequence");
hashMap3.put("java.lang.Throwable", "kotlin.Throwable");
hashMap3.put("java.lang.Cloneable", "kotlin.Cloneable");
hashMap3.put("java.lang.Number", "kotlin.Number");
hashMap3.put("java.lang.Comparable", "kotlin.Comparable");
hashMap3.put("java.lang.Enum", "kotlin.Enum");
hashMap3.put("java.lang.annotation.Annotation", "kotlin.Annotation");
hashMap3.put("java.lang.Iterable", "kotlin.collections.Iterable");
hashMap3.put("java.util.Iterator", "kotlin.collections.Iterator");
hashMap3.put("java.util.Collection", "kotlin.collections.Collection");
hashMap3.put("java.util.List", "kotlin.collections.List");
hashMap3.put("java.util.Set", "kotlin.collections.Set");
hashMap3.put("java.util.ListIterator", "kotlin.collections.ListIterator");
hashMap3.put("java.util.Map", "kotlin.collections.Map");
hashMap3.put("java.util.Map$Entry", "kotlin.collections.Map.Entry");
hashMap3.put("kotlin.jvm.internal.StringCompanionObject", "kotlin.String.Companion");
hashMap3.put("kotlin.jvm.internal.EnumCompanionObject", "kotlin.Enum.Companion");
hashMap3.putAll(hashMap);
hashMap3.putAll(hashMap2);
Collection<String> values = hashMap.values();
C1470g.m1293d(values, "primitiveFqNames.values");
for (String str : values) {
StringBuilder sb = new StringBuilder();
sb.append("kotlin.jvm.internal.");
C1470g.m1293d(str, "kotlinName");
sb.append(C1631m.m764u(str, '.', null, 2, null));
sb.append("CompanionObject");
C0475e m3620a = C0481i.m3620a(sb.toString(), str + ".Companion");
hashMap3.put(m3620a.m3628c(), m3620a.m3627d());
}
for (Map.Entry<Class<Object>, Integer> entry : f3216c.entrySet()) {
int intValue = entry.getValue().intValue();
hashMap3.put(entry.getKey().getName(), "kotlin.Function" + intValue);
}
f3219f = hashMap3;
LinkedHashMap linkedHashMap = new LinkedHashMap(C0517v.m3581a(hashMap3.size()));
for (Map.Entry entry2 : hashMap3.entrySet()) {
linkedHashMap.put(entry2.getKey(), C1631m.m764u((String) entry2.getValue(), '.', null, 2, null));
}
f3220g = linkedHashMap;
}
public C1465c(Class<?> cls) {
C1470g.m1292e(cls, "jClass");
this.f3221a = cls;
}
@Override // p039m1.InterfaceC1464b
/* renamed from: a */
public Class<?> mo1281a() {
return this.f3221a;
}
public boolean equals(Object obj) {
return (obj instanceof C1465c) && C1470g.m1296a(C1350a.m1576b(this), C1350a.m1576b((InterfaceC1566b) obj));
}
public int hashCode() {
return C1350a.m1576b(this).hashCode();
}
public String toString() {
return mo1281a().toString() + " (Kotlin reflection is not available)";
}
}