Changes of com.discord v1144

This commit is contained in:
distok 2020-05-17 12:40:10 +00:00
parent 4746542b20
commit f52990c3c2
25752 changed files with 4382359 additions and 77 deletions

View file

@ -0,0 +1,242 @@
.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
.locals 2
const/4 v0, 0x0
if-eqz p0, :cond_1
invoke-interface {p0, p1}, Landroid/database/Cursor;->isNull(I)Z
move-result v1
if-eqz v1, :cond_0
goto :goto_0
:cond_0
invoke-interface {p0, p1}, Landroid/database/Cursor;->getBlob(I)[B
move-result-object v0
:goto_0
return-object v0
:cond_1
const-string p0, "$this$getBlobOrNull"
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
.method public static final getDoubleOrNull(Landroid/database/Cursor;I)Ljava/lang/Double;
.locals 2
const/4 v0, 0x0
if-eqz p0, :cond_1
invoke-interface {p0, p1}, Landroid/database/Cursor;->isNull(I)Z
move-result v1
if-eqz v1, :cond_0
goto :goto_0
: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;
move-result-object v0
:goto_0
return-object v0
:cond_1
const-string p0, "$this$getDoubleOrNull"
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
.method public static final getFloatOrNull(Landroid/database/Cursor;I)Ljava/lang/Float;
.locals 2
const/4 v0, 0x0
if-eqz p0, :cond_1
invoke-interface {p0, p1}, Landroid/database/Cursor;->isNull(I)Z
move-result v1
if-eqz v1, :cond_0
goto :goto_0
: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;
move-result-object v0
:goto_0
return-object v0
:cond_1
const-string p0, "$this$getFloatOrNull"
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
.method public static final getIntOrNull(Landroid/database/Cursor;I)Ljava/lang/Integer;
.locals 2
const/4 v0, 0x0
if-eqz p0, :cond_1
invoke-interface {p0, p1}, Landroid/database/Cursor;->isNull(I)Z
move-result v1
if-eqz v1, :cond_0
goto :goto_0
: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;
move-result-object v0
:goto_0
return-object v0
:cond_1
const-string p0, "$this$getIntOrNull"
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
.method public static final getLongOrNull(Landroid/database/Cursor;I)Ljava/lang/Long;
.locals 2
const/4 v0, 0x0
if-eqz p0, :cond_1
invoke-interface {p0, p1}, Landroid/database/Cursor;->isNull(I)Z
move-result v1
if-eqz v1, :cond_0
goto :goto_0
: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;
move-result-object v0
:goto_0
return-object v0
:cond_1
const-string p0, "$this$getLongOrNull"
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
.method public static final getShortOrNull(Landroid/database/Cursor;I)Ljava/lang/Short;
.locals 2
const/4 v0, 0x0
if-eqz p0, :cond_1
invoke-interface {p0, p1}, Landroid/database/Cursor;->isNull(I)Z
move-result v1
if-eqz v1, :cond_0
goto :goto_0
: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;
move-result-object v0
:goto_0
return-object v0
:cond_1
const-string p0, "$this$getShortOrNull"
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
.method public static final getStringOrNull(Landroid/database/Cursor;I)Ljava/lang/String;
.locals 2
const/4 v0, 0x0
if-eqz p0, :cond_1
invoke-interface {p0, p1}, Landroid/database/Cursor;->isNull(I)Z
move-result v1
if-eqz v1, :cond_0
goto :goto_0
:cond_0
invoke-interface {p0, p1}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;
move-result-object v0
:goto_0
return-object v0
:cond_1
const-string p0, "$this$getStringOrNull"
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
throw v0
.end method

View file

@ -0,0 +1,42 @@
.class public final Landroidx/core/database/CursorWindowCompat;
.super Ljava/lang/Object;
.source "CursorWindowCompat.java"
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static create(Ljava/lang/String;J)Landroid/database/CursorWindow;
.locals 2
.param p0 # Ljava/lang/String;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x1c
if-lt v0, v1, :cond_0
new-instance v0, Landroid/database/CursorWindow;
invoke-direct {v0, p0, p1, p2}, Landroid/database/CursorWindow;-><init>(Ljava/lang/String;J)V
return-object v0
:cond_0
new-instance p1, Landroid/database/CursorWindow;
invoke-direct {p1, p0}, Landroid/database/CursorWindow;-><init>(Ljava/lang/String;)V
return-object p1
.end method

View file

@ -0,0 +1,109 @@
.class public final Landroidx/core/database/DatabaseUtilsCompat;
.super Ljava/lang/Object;
.source "DatabaseUtilsCompat.java"
# annotations
.annotation runtime Ljava/lang/Deprecated;
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static appendSelectionArgs([Ljava/lang/String;[Ljava/lang/String;)[Ljava/lang/String;
.locals 3
.annotation runtime Ljava/lang/Deprecated;
.end annotation
if-eqz p0, :cond_1
array-length v0, p0
if-nez v0, :cond_0
goto :goto_0
:cond_0
array-length v0, p0
array-length v1, p1
add-int/2addr v0, v1
new-array v0, v0, [Ljava/lang/String;
array-length v1, p0
const/4 v2, 0x0
invoke-static {p0, v2, v0, v2, v1}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
array-length p0, p0
array-length v1, p1
invoke-static {p1, v2, v0, p0, v1}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
return-object v0
:cond_1
:goto_0
return-object p1
.end method
.method public static concatenateWhere(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
.locals 2
.annotation runtime Ljava/lang/Deprecated;
.end annotation
invoke-static {p0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
if-eqz v0, :cond_0
return-object p1
:cond_0
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
if-eqz v0, :cond_1
return-object p0
:cond_1
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "("
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string p0, ") AND ("
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string p0, ")"
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
return-object p0
.end method

View file

@ -0,0 +1,32 @@
.class public final Landroidx/core/database/sqlite/SQLiteCursorCompat;
.super Ljava/lang/Object;
.source "SQLiteCursorCompat.java"
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static setFillWindowForwardOnly(Landroid/database/sqlite/SQLiteCursor;Z)V
.locals 2
.param p0 # Landroid/database/sqlite/SQLiteCursor;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x1c
if-lt v0, v1, :cond_0
invoke-virtual {p0, p1}, Landroid/database/sqlite/SQLiteCursor;->setFillWindowForwardOnly(Z)V
:cond_0
return-void
.end method

View file

@ -0,0 +1,135 @@
.class public final Landroidx/core/database/sqlite/SQLiteDatabaseKt;
.super Ljava/lang/Object;
.source "SQLiteDatabase.kt"
# direct methods
.method public static final transaction(Landroid/database/sqlite/SQLiteDatabase;ZLkotlin/jvm/functions/Function1;)Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroid/database/sqlite/SQLiteDatabase;",
"Z",
"Lkotlin/jvm/functions/Function1<",
"-",
"Landroid/database/sqlite/SQLiteDatabase;",
"+TT;>;)TT;"
}
.end annotation
const/4 v0, 0x0
if-eqz p0, :cond_2
if-eqz p2, :cond_1
if-eqz p1, :cond_0
invoke-virtual {p0}, Landroid/database/sqlite/SQLiteDatabase;->beginTransaction()V
goto :goto_0
:cond_0
invoke-virtual {p0}, Landroid/database/sqlite/SQLiteDatabase;->beginTransactionNonExclusive()V
:goto_0
:try_start_0
invoke-interface {p2, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
invoke-virtual {p0}, Landroid/database/sqlite/SQLiteDatabase;->setTransactionSuccessful()V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-virtual {p0}, Landroid/database/sqlite/SQLiteDatabase;->endTransaction()V
return-object p1
:catchall_0
move-exception p1
invoke-virtual {p0}, Landroid/database/sqlite/SQLiteDatabase;->endTransaction()V
throw p1
:cond_1
const-string p0, "body"
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_2
const-string p0, "$this$transaction"
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
.method public static synthetic transaction$default(Landroid/database/sqlite/SQLiteDatabase;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ljava/lang/Object;
.locals 0
const/4 p4, 0x1
and-int/2addr p3, p4
if-eqz p3, :cond_0
const/4 p1, 0x1
:cond_0
const/4 p3, 0x0
if-eqz p0, :cond_3
if-eqz p2, :cond_2
if-eqz p1, :cond_1
invoke-virtual {p0}, Landroid/database/sqlite/SQLiteDatabase;->beginTransaction()V
goto :goto_0
:cond_1
invoke-virtual {p0}, Landroid/database/sqlite/SQLiteDatabase;->beginTransactionNonExclusive()V
:goto_0
:try_start_0
invoke-interface {p2, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
invoke-virtual {p0}, Landroid/database/sqlite/SQLiteDatabase;->setTransactionSuccessful()V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-virtual {p0}, Landroid/database/sqlite/SQLiteDatabase;->endTransaction()V
return-object p1
:catchall_0
move-exception p1
invoke-virtual {p0}, Landroid/database/sqlite/SQLiteDatabase;->endTransaction()V
throw p1
:cond_2
const-string p0, "body"
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
throw p3
:cond_3
const-string p0, "$this$transaction"
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
throw p3
.end method