com-dot-app-sancharsaathi-1-5-0.apk
Download file
package com.google.gson;
import com.google.gson.internal.f;
import java.math.BigDecimal;
public enum q implements r {
DOUBLE {
/* renamed from: f */
public Double b(D2.a aVar) {
return Double.valueOf(aVar.s());
}
},
LAZILY_PARSED_NUMBER {
public Number b(D2.a aVar) {
return new f(aVar.C());
}
},
LONG_OR_DOUBLE {
/* JADX WARNING: Code restructure failed: missing block: B:10:0x0020, code lost:
r2 = move-exception;
*/
/* JADX WARNING: Code restructure failed: missing block: B:13:0x0026, code lost:
if (r7.k() == false) goto L_0x0029;
*/
/* JADX WARNING: Code restructure failed: missing block: B:14:0x0028, code lost:
return r2;
*/
/* JADX WARNING: Code restructure failed: missing block: B:16:0x0049, code lost:
throw new D2.d("JSON forbids NaN and infinities: " + r2 + "; at path " + r7.getPath());
*/
/* JADX WARNING: Code restructure failed: missing block: B:18:0x006a, code lost:
throw new com.google.gson.l("Cannot parse " + r1 + "; at path " + r7.getPath(), r2);
*/
/* JADX WARNING: Code restructure failed: missing block: B:5:?, code lost:
r2 = java.lang.Double.valueOf(r1);
*/
/* JADX WARNING: Code restructure failed: missing block: B:6:0x0017, code lost:
if (r2.isInfinite() == false) goto L_0x0019;
*/
/* JADX WARNING: Code restructure failed: missing block: B:8:0x001d, code lost:
if (r2.isNaN() != false) goto L_0x001f;
*/
/* JADX WARNING: Failed to process nested try/catch */
/* JADX WARNING: Missing exception handler attribute for start block: B:4:0x000f */
/* Code decompiled incorrectly, please refer to instructions dump. */
public java.lang.Number b(D2.a r7) {
/*
r6 = this;
java.lang.String r0 = "; at path "
java.lang.String r1 = r7.C()
long r2 = java.lang.Long.parseLong(r1) // Catch:{ NumberFormatException -> 0x000f }
java.lang.Long r7 = java.lang.Long.valueOf(r2) // Catch:{ NumberFormatException -> 0x000f }
return r7
L_0x000f:
java.lang.Double r2 = java.lang.Double.valueOf(r1) // Catch:{ NumberFormatException -> 0x0020 }
boolean r3 = r2.isInfinite() // Catch:{ NumberFormatException -> 0x0020 }
if (r3 != 0) goto L_0x0022
boolean r3 = r2.isNaN() // Catch:{ NumberFormatException -> 0x0020 }
if (r3 == 0) goto L_0x0028
goto L_0x0022
L_0x0020:
r2 = move-exception
goto L_0x004a
L_0x0022:
boolean r3 = r7.k() // Catch:{ NumberFormatException -> 0x0020 }
if (r3 == 0) goto L_0x0029
L_0x0028:
return r2
L_0x0029:
D2.d r3 = new D2.d // Catch:{ NumberFormatException -> 0x0020 }
java.lang.StringBuilder r4 = new java.lang.StringBuilder // Catch:{ NumberFormatException -> 0x0020 }
r4.<init>() // Catch:{ NumberFormatException -> 0x0020 }
java.lang.String r5 = "JSON forbids NaN and infinities: "
r4.append(r5) // Catch:{ NumberFormatException -> 0x0020 }
r4.append(r2) // Catch:{ NumberFormatException -> 0x0020 }
r4.append(r0) // Catch:{ NumberFormatException -> 0x0020 }
java.lang.String r2 = r7.getPath() // Catch:{ NumberFormatException -> 0x0020 }
r4.append(r2) // Catch:{ NumberFormatException -> 0x0020 }
java.lang.String r2 = r4.toString() // Catch:{ NumberFormatException -> 0x0020 }
r3.<init>(r2) // Catch:{ NumberFormatException -> 0x0020 }
throw r3 // Catch:{ NumberFormatException -> 0x0020 }
L_0x004a:
com.google.gson.l r3 = new com.google.gson.l
java.lang.StringBuilder r4 = new java.lang.StringBuilder
r4.<init>()
java.lang.String r5 = "Cannot parse "
r4.append(r5)
r4.append(r1)
r4.append(r0)
java.lang.String r7 = r7.getPath()
r4.append(r7)
java.lang.String r7 = r4.toString()
r3.<init>(r7, r2)
throw r3
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.gson.q.c.b(D2.a):java.lang.Number");
}
},
BIG_DECIMAL {
/* renamed from: f */
public BigDecimal b(D2.a aVar) {
String C4 = aVar.C();
try {
return new BigDecimal(C4);
} catch (NumberFormatException e4) {
throw new l("Cannot parse " + C4 + "; at path " + aVar.getPath(), e4);
}
}
};
}
Download file