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,52 @@
.class public final Lkotlinx/coroutines/CoroutineExceptionHandler$a;
.super Ljava/lang/Object;
.source "CoroutineExceptionHandler.kt"
# interfaces
.implements Lkotlin/coroutines/CoroutineContext$b;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lkotlinx/coroutines/CoroutineExceptionHandler;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lkotlin/coroutines/CoroutineContext$b<",
"Lkotlinx/coroutines/CoroutineExceptionHandler;",
">;"
}
.end annotation
# static fields
.field public static final synthetic a:Lkotlinx/coroutines/CoroutineExceptionHandler$a;
# direct methods
.method public static constructor <clinit>()V
.locals 1
new-instance v0, Lkotlinx/coroutines/CoroutineExceptionHandler$a;
invoke-direct {v0}, Lkotlinx/coroutines/CoroutineExceptionHandler$a;-><init>()V
sput-object v0, Lkotlinx/coroutines/CoroutineExceptionHandler$a;->a:Lkotlinx/coroutines/CoroutineExceptionHandler$a;
return-void
.end method
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View file

@ -0,0 +1,35 @@
.class public interface abstract Lkotlinx/coroutines/CoroutineExceptionHandler;
.super Ljava/lang/Object;
.source "CoroutineExceptionHandler.kt"
# interfaces
.implements Lkotlin/coroutines/CoroutineContext$a;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lkotlinx/coroutines/CoroutineExceptionHandler$a;
}
.end annotation
# static fields
.field public static final b:Lkotlinx/coroutines/CoroutineExceptionHandler$a;
# direct methods
.method public static constructor <clinit>()V
.locals 1
sget-object v0, Lkotlinx/coroutines/CoroutineExceptionHandler$a;->a:Lkotlinx/coroutines/CoroutineExceptionHandler$a;
sput-object v0, Lkotlinx/coroutines/CoroutineExceptionHandler;->b:Lkotlinx/coroutines/CoroutineExceptionHandler$a;
return-void
.end method
# virtual methods
.method public abstract handleException(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Throwable;)V
.end method

View file

@ -0,0 +1,8 @@
.class public interface abstract Lkotlinx/coroutines/CoroutineScope;
.super Ljava/lang/Object;
.source "CoroutineScope.kt"
# virtual methods
.method public abstract c()Lkotlin/coroutines/CoroutineContext;
.end method

View file

@ -0,0 +1,54 @@
.class public final Lkotlinx/coroutines/Job$a;
.super Ljava/lang/Object;
.source "Job.kt"
# interfaces
.implements Lkotlin/coroutines/CoroutineContext$b;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lkotlinx/coroutines/Job;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lkotlin/coroutines/CoroutineContext$b<",
"Lkotlinx/coroutines/Job;",
">;"
}
.end annotation
# static fields
.field public static final synthetic a:Lkotlinx/coroutines/Job$a;
# direct methods
.method public static constructor <clinit>()V
.locals 1
new-instance v0, Lkotlinx/coroutines/Job$a;
invoke-direct {v0}, Lkotlinx/coroutines/Job$a;-><init>()V
sput-object v0, Lkotlinx/coroutines/Job$a;->a:Lkotlinx/coroutines/Job$a;
sget-object v0, Lkotlinx/coroutines/CoroutineExceptionHandler;->b:Lkotlinx/coroutines/CoroutineExceptionHandler$a;
return-void
.end method
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View file

@ -0,0 +1,78 @@
.class public interface abstract Lkotlinx/coroutines/Job;
.super Ljava/lang/Object;
.source "Job.kt"
# interfaces
.implements Lkotlin/coroutines/CoroutineContext$a;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lkotlinx/coroutines/Job$a;
}
.end annotation
# static fields
.field public static final c:Lkotlinx/coroutines/Job$a;
# direct methods
.method public static constructor <clinit>()V
.locals 1
sget-object v0, Lkotlinx/coroutines/Job$a;->a:Lkotlinx/coroutines/Job$a;
sput-object v0, Lkotlinx/coroutines/Job;->c:Lkotlinx/coroutines/Job$a;
return-void
.end method
# virtual methods
.method public abstract a(Lz/a/n;)Lz/a/l;
.end method
.method public abstract a(Lkotlin/jvm/functions/Function1;)Lz/a/o0;
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Throwable;",
"Lkotlin/Unit;",
">;)",
"Lz/a/o0;"
}
.end annotation
.end method
.method public abstract a(ZZLkotlin/jvm/functions/Function1;)Lz/a/o0;
.annotation system Ldalvik/annotation/Signature;
value = {
"(ZZ",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Throwable;",
"Lkotlin/Unit;",
">;)",
"Lz/a/o0;"
}
.end annotation
.end method
.method public abstract a(Ljava/util/concurrent/CancellationException;)V
.end method
.method public abstract a()Z
.end method
.method public abstract b()Ljava/util/concurrent/CancellationException;
.end method
.method public abstract synthetic cancel()V
.end method
.method public abstract start()Z
.end method

View file

@ -0,0 +1,107 @@
.class public final Lkotlinx/coroutines/android/AndroidDispatcherFactory;
.super Ljava/lang/Object;
.source "HandlerDispatcher.kt"
# interfaces
.implements Lkotlinx/coroutines/internal/MainDispatcherFactory;
# annotations
.annotation build Landroidx/annotation/Keep;
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public bridge synthetic createDispatcher(Ljava/util/List;)Lz/a/k1;
.locals 0
invoke-virtual {p0, p1}, Lkotlinx/coroutines/android/AndroidDispatcherFactory;->createDispatcher(Ljava/util/List;)Lz/a/z1/a;
move-result-object p1
return-object p1
.end method
.method public createDispatcher(Ljava/util/List;)Lz/a/z1/a;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"+",
"Lkotlinx/coroutines/internal/MainDispatcherFactory;",
">;)",
"Lz/a/z1/a;"
}
.end annotation
const/4 v0, 0x0
if-eqz p1, :cond_1
new-instance p1, Lz/a/z1/a;
invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;
move-result-object v1
const-string v2, "Looper.getMainLooper()"
invoke-static {v1, v2}, Ly/v/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const/4 v2, 0x1
invoke-static {v1, v2}, Lz/a/z1/c;->a(Landroid/os/Looper;Z)Landroid/os/Handler;
move-result-object v1
if-eqz v1, :cond_0
const/4 v0, 0x0
const-string v2, "Main"
invoke-direct {p1, v1, v2, v0}, Lz/a/z1/a;-><init>(Landroid/os/Handler;Ljava/lang/String;Z)V
return-object p1
:cond_0
const-string p1, "handler"
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_1
const-string p1, "allFactories"
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
.method public getLoadPriority()I
.locals 1
const v0, 0x3fffffff # 1.9999999f
return v0
.end method
.method public hintOnError()Ljava/lang/String;
.locals 1
const-string v0, "For tests Dispatchers.setMain from kotlinx-coroutines-test module can be used"
return-object v0
.end method

View file

@ -0,0 +1,257 @@
.class public final Lkotlinx/coroutines/android/AndroidExceptionPreHandler;
.super Ly/s/a;
.source "AndroidExceptionPreHandler.kt"
# interfaces
.implements Lkotlinx/coroutines/CoroutineExceptionHandler;
.implements Lkotlin/jvm/functions/Function0;
# annotations
.annotation build Landroidx/annotation/Keep;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ly/s/a;",
"Lkotlinx/coroutines/CoroutineExceptionHandler;",
"Lkotlin/jvm/functions/Function0<",
"Ljava/lang/reflect/Method;",
">;"
}
.end annotation
# static fields
.field public static final synthetic $$delegatedProperties:[Lkotlin/reflect/KProperty;
# instance fields
.field public final preHandler$delegate:Lkotlin/Lazy;
# direct methods
.method public static constructor <clinit>()V
.locals 5
const/4 v0, 0x1
new-array v0, v0, [Lkotlin/reflect/KProperty;
new-instance v1, Ly/v/b/u;
const-class v2, Lkotlinx/coroutines/android/AndroidExceptionPreHandler;
invoke-static {v2}, Ly/v/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/z/b;
move-result-object v2
const-string v3, "preHandler"
const-string v4, "getPreHandler()Ljava/lang/reflect/Method;"
invoke-direct {v1, v2, v3, v4}, Ly/v/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
sget-object v2, Ly/v/b/x;->a:Ly/v/b/y;
invoke-virtual {v2, v1}, Ly/v/b/y;->property1(Ly/v/b/t;)Ly/z/d;
const/4 v2, 0x0
aput-object v1, v0, v2
sput-object v0, Lkotlinx/coroutines/android/AndroidExceptionPreHandler;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
return-void
.end method
.method public constructor <init>()V
.locals 1
sget-object v0, Lkotlinx/coroutines/CoroutineExceptionHandler;->b:Lkotlinx/coroutines/CoroutineExceptionHandler$a;
invoke-direct {p0, v0}, Ly/s/a;-><init>(Lkotlin/coroutines/CoroutineContext$b;)V
invoke-static {p0}, Lf/o/a/j/a;->lazy(Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy;
move-result-object v0
iput-object v0, p0, Lkotlinx/coroutines/android/AndroidExceptionPreHandler;->preHandler$delegate:Lkotlin/Lazy;
return-void
.end method
.method private final getPreHandler()Ljava/lang/reflect/Method;
.locals 3
iget-object v0, p0, Lkotlinx/coroutines/android/AndroidExceptionPreHandler;->preHandler$delegate:Lkotlin/Lazy;
sget-object v1, Lkotlinx/coroutines/android/AndroidExceptionPreHandler;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/4 v2, 0x0
aget-object v1, v1, v2
invoke-interface {v0}, Lkotlin/Lazy;->getValue()Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/reflect/Method;
return-object v0
.end method
# virtual methods
.method public handleException(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Throwable;)V
.locals 3
const/4 v0, 0x0
if-eqz p1, :cond_5
if-eqz p2, :cond_4
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
move-result-object p1
sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v2, 0x1c
if-lt v1, v2, :cond_0
const-string v0, "thread"
invoke-static {p1, v0}, Ly/v/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p1}, Ljava/lang/Thread;->getUncaughtExceptionHandler()Ljava/lang/Thread$UncaughtExceptionHandler;
move-result-object v0
invoke-interface {v0, p1, p2}, Ljava/lang/Thread$UncaughtExceptionHandler;->uncaughtException(Ljava/lang/Thread;Ljava/lang/Throwable;)V
goto :goto_2
:cond_0
invoke-direct {p0}, Lkotlinx/coroutines/android/AndroidExceptionPreHandler;->getPreHandler()Ljava/lang/reflect/Method;
move-result-object v1
if-eqz v1, :cond_1
const/4 v2, 0x0
new-array v2, v2, [Ljava/lang/Object;
invoke-virtual {v1, v0, v2}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
goto :goto_0
:cond_1
move-object v1, v0
:goto_0
instance-of v2, v1, Ljava/lang/Thread$UncaughtExceptionHandler;
if-nez v2, :cond_2
goto :goto_1
:cond_2
move-object v0, v1
:goto_1
check-cast v0, Ljava/lang/Thread$UncaughtExceptionHandler;
if-eqz v0, :cond_3
invoke-interface {v0, p1, p2}, Ljava/lang/Thread$UncaughtExceptionHandler;->uncaughtException(Ljava/lang/Thread;Ljava/lang/Throwable;)V
:cond_3
:goto_2
return-void
:cond_4
const-string p1, "exception"
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_5
const-string p1, "context"
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
.method public bridge synthetic invoke()Ljava/lang/Object;
.locals 1
invoke-virtual {p0}, Lkotlinx/coroutines/android/AndroidExceptionPreHandler;->invoke()Ljava/lang/reflect/Method;
move-result-object v0
return-object v0
.end method
.method public invoke()Ljava/lang/reflect/Method;
.locals 5
const/4 v0, 0x0
:try_start_0
const-class v1, Ljava/lang/Thread;
const-string v2, "getUncaughtExceptionPreHandler"
const/4 v3, 0x0
new-array v4, v3, [Ljava/lang/Class;
invoke-virtual {v1, v2, v4}, Ljava/lang/Class;->getDeclaredMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
move-result-object v1
const-string v2, "it"
invoke-static {v1, v2}, Ly/v/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v1}, Ljava/lang/reflect/Method;->getModifiers()I
move-result v2
invoke-static {v2}, Ljava/lang/reflect/Modifier;->isPublic(I)Z
move-result v2
if-eqz v2, :cond_0
invoke-virtual {v1}, Ljava/lang/reflect/Method;->getModifiers()I
move-result v2
invoke-static {v2}, Ljava/lang/reflect/Modifier;->isStatic(I)Z
move-result v2
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
if-eqz v2, :cond_0
const/4 v3, 0x1
:cond_0
if-eqz v3, :cond_1
move-object v0, v1
:catchall_0
:cond_1
return-object v0
.end method

View file

@ -0,0 +1,24 @@
.class public interface abstract Lkotlinx/coroutines/internal/MainDispatcherFactory;
.super Ljava/lang/Object;
.source "MainDispatcherFactory.kt"
# virtual methods
.method public abstract createDispatcher(Ljava/util/List;)Lz/a/k1;
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"+",
"Lkotlinx/coroutines/internal/MainDispatcherFactory;",
">;)",
"Lz/a/k1;"
}
.end annotation
.end method
.method public abstract getLoadPriority()I
.end method
.method public abstract hintOnError()Ljava/lang/String;
.end method