apkfuckery/com.discord/smali/androidx/core/database/CursorKt.smali

243 lines
4.5 KiB
Smali
Raw Normal View History

2019-07-31 00:08:31 +00:00
.class public final Landroidx/core/database/CursorKt;
.super Ljava/lang/Object;
.source "Cursor.kt"
# direct methods
.method public static final getBlobOrNull(Landroid/database/Cursor;I)[B
2019-12-06 03:29:40 +00:00
.locals 2
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
const/4 v0, 0x0
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p0, :cond_1
2019-07-31 00:08:31 +00:00
invoke-interface {p0, p1}, Landroid/database/Cursor;->isNull(I)Z
2019-12-06 03:29:40 +00:00
move-result v1
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v1, :cond_0
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-31 00:08:31 +00:00
:cond_0
invoke-interface {p0, p1}, Landroid/database/Cursor;->getBlob(I)[B
2019-12-06 03:29:40 +00:00
move-result-object v0
:goto_0
return-object v0
:cond_1
const-string p0, "$this$getBlobOrNull"
2020-04-17 19:35:49 +00:00
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
throw v0
2019-07-31 00:08:31 +00:00
.end method
.method public static final getDoubleOrNull(Landroid/database/Cursor;I)Ljava/lang/Double;
2019-12-06 03:29:40 +00:00
.locals 2
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
const/4 v0, 0x0
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p0, :cond_1
2019-07-31 00:08:31 +00:00
invoke-interface {p0, p1}, Landroid/database/Cursor;->isNull(I)Z
2019-12-06 03:29:40 +00:00
move-result v1
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v1, :cond_0
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-31 00:08:31 +00:00
:cond_0
invoke-interface {p0, p1}, Landroid/database/Cursor;->getDouble(I)D
move-result-wide p0
invoke-static {p0, p1}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;
2019-12-06 03:29:40 +00:00
move-result-object v0
:goto_0
return-object v0
:cond_1
const-string p0, "$this$getDoubleOrNull"
2019-07-31 00:08:31 +00:00
2020-04-17 19:35:49 +00:00
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
2019-07-31 00:08:31 +00:00
.end method
.method public static final getFloatOrNull(Landroid/database/Cursor;I)Ljava/lang/Float;
2019-12-06 03:29:40 +00:00
.locals 2
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
const/4 v0, 0x0
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p0, :cond_1
2019-07-31 00:08:31 +00:00
invoke-interface {p0, p1}, Landroid/database/Cursor;->isNull(I)Z
2019-12-06 03:29:40 +00:00
move-result v1
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v1, :cond_0
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-31 00:08:31 +00:00
:cond_0
invoke-interface {p0, p1}, Landroid/database/Cursor;->getFloat(I)F
move-result p0
invoke-static {p0}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
2019-12-06 03:29:40 +00:00
move-result-object v0
:goto_0
return-object v0
:cond_1
const-string p0, "$this$getFloatOrNull"
2019-07-31 00:08:31 +00:00
2020-04-17 19:35:49 +00:00
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
2019-07-31 00:08:31 +00:00
.end method
.method public static final getIntOrNull(Landroid/database/Cursor;I)Ljava/lang/Integer;
2019-12-06 03:29:40 +00:00
.locals 2
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
const/4 v0, 0x0
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p0, :cond_1
2019-07-31 00:08:31 +00:00
invoke-interface {p0, p1}, Landroid/database/Cursor;->isNull(I)Z
2019-12-06 03:29:40 +00:00
move-result v1
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v1, :cond_0
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-31 00:08:31 +00:00
:cond_0
invoke-interface {p0, p1}, Landroid/database/Cursor;->getInt(I)I
move-result p0
invoke-static {p0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
2019-12-06 03:29:40 +00:00
move-result-object v0
:goto_0
return-object v0
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
:cond_1
const-string p0, "$this$getIntOrNull"
2020-04-17 19:35:49 +00:00
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
2019-07-31 00:08:31 +00:00
.end method
.method public static final getLongOrNull(Landroid/database/Cursor;I)Ljava/lang/Long;
2019-12-06 03:29:40 +00:00
.locals 2
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
const/4 v0, 0x0
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p0, :cond_1
2019-07-31 00:08:31 +00:00
invoke-interface {p0, p1}, Landroid/database/Cursor;->isNull(I)Z
2019-12-06 03:29:40 +00:00
move-result v1
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v1, :cond_0
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-31 00:08:31 +00:00
:cond_0
invoke-interface {p0, p1}, Landroid/database/Cursor;->getLong(I)J
move-result-wide p0
invoke-static {p0, p1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
2019-12-06 03:29:40 +00:00
move-result-object v0
:goto_0
return-object v0
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
:cond_1
const-string p0, "$this$getLongOrNull"
2020-04-17 19:35:49 +00:00
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
2019-07-31 00:08:31 +00:00
.end method
.method public static final getShortOrNull(Landroid/database/Cursor;I)Ljava/lang/Short;
2019-12-06 03:29:40 +00:00
.locals 2
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
const/4 v0, 0x0
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p0, :cond_1
2019-07-31 00:08:31 +00:00
invoke-interface {p0, p1}, Landroid/database/Cursor;->isNull(I)Z
2019-12-06 03:29:40 +00:00
move-result v1
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v1, :cond_0
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-31 00:08:31 +00:00
:cond_0
invoke-interface {p0, p1}, Landroid/database/Cursor;->getShort(I)S
move-result p0
invoke-static {p0}, Ljava/lang/Short;->valueOf(S)Ljava/lang/Short;
2019-12-06 03:29:40 +00:00
move-result-object v0
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
:goto_0
return-object v0
:cond_1
const-string p0, "$this$getShortOrNull"
2020-04-17 19:35:49 +00:00
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
2019-07-31 00:08:31 +00:00
.end method
.method public static final getStringOrNull(Landroid/database/Cursor;I)Ljava/lang/String;
2019-12-06 03:29:40 +00:00
.locals 2
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
const/4 v0, 0x0
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p0, :cond_1
2019-07-31 00:08:31 +00:00
invoke-interface {p0, p1}, Landroid/database/Cursor;->isNull(I)Z
2019-12-06 03:29:40 +00:00
move-result v1
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v1, :cond_0
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-31 00:08:31 +00:00
:cond_0
invoke-interface {p0, p1}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;
2019-12-06 03:29:40 +00:00
move-result-object v0
:goto_0
return-object v0
:cond_1
const-string p0, "$this$getStringOrNull"
2020-04-17 19:35:49 +00:00
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
throw v0
2019-07-31 00:08:31 +00:00
.end method