Changes of com.discord v1325

This commit is contained in:
root 2020-11-12 02:11:44 +00:00
parent d9d9f382c9
commit 3cb9e1231d
28086 changed files with 4880345 additions and 0 deletions

View file

@ -0,0 +1,13 @@
.class public final Lkotlinx/coroutines/CompletionHandlerException;
.super Ljava/lang/RuntimeException;
.source "Exceptions.common.kt"
# direct methods
.method public constructor <init>(Ljava/lang/String;Ljava/lang/Throwable;)V
.locals 0
invoke-direct {p0, p1, p2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
return-void
.end method

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 getCoroutineContext()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,75 @@
.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()Z
.end method
.method public abstract d(ZZLkotlin/jvm/functions/Function1;)La0/a/h0;
.annotation system Ldalvik/annotation/Signature;
value = {
"(ZZ",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Throwable;",
"Lkotlin/Unit;",
">;)",
"La0/a/h0;"
}
.end annotation
.end method
.method public abstract e()Ljava/util/concurrent/CancellationException;
.end method
.method public abstract h(Lkotlin/jvm/functions/Function1;)La0/a/h0;
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Throwable;",
"Lkotlin/Unit;",
">;)",
"La0/a/h0;"
}
.end annotation
.end method
.method public abstract o(Ljava/util/concurrent/CancellationException;)V
.end method
.method public abstract q(La0/a/l;)La0/a/j;
.end method
.method public abstract start()Z
.end method

View file

@ -0,0 +1,194 @@
.class public final Lkotlinx/coroutines/JobCancellationException;
.super Ljava/util/concurrent/CancellationException;
.source "Exceptions.kt"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/CancellationException;",
"Ljava/lang/Object<",
"Lkotlinx/coroutines/JobCancellationException;",
">;"
}
.end annotation
# instance fields
.field public final job:Lkotlinx/coroutines/Job;
# direct methods
.method public constructor <init>(Ljava/lang/String;Ljava/lang/Throwable;Lkotlinx/coroutines/Job;)V
.locals 0
invoke-direct {p0, p1}, Ljava/util/concurrent/CancellationException;-><init>(Ljava/lang/String;)V
iput-object p3, p0, Lkotlinx/coroutines/JobCancellationException;->job:Lkotlinx/coroutines/Job;
if-eqz p2, :cond_0
invoke-virtual {p0, p2}, Ljava/util/concurrent/CancellationException;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
:cond_0
return-void
.end method
# virtual methods
.method public equals(Ljava/lang/Object;)Z
.locals 2
if-eq p1, p0, :cond_1
instance-of v0, p1, Lkotlinx/coroutines/JobCancellationException;
if-eqz v0, :cond_0
check-cast p1, Lkotlinx/coroutines/JobCancellationException;
invoke-virtual {p1}, Ljava/util/concurrent/CancellationException;->getMessage()Ljava/lang/String;
move-result-object v0
invoke-virtual {p0}, Ljava/util/concurrent/CancellationException;->getMessage()Ljava/lang/String;
move-result-object v1
invoke-static {v0, v1}, Lz/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
iget-object v0, p1, Lkotlinx/coroutines/JobCancellationException;->job:Lkotlinx/coroutines/Job;
iget-object v1, p0, Lkotlinx/coroutines/JobCancellationException;->job:Lkotlinx/coroutines/Job;
invoke-static {v0, v1}, Lz/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
invoke-virtual {p1}, Ljava/util/concurrent/CancellationException;->getCause()Ljava/lang/Throwable;
move-result-object p1
invoke-virtual {p0}, Ljava/util/concurrent/CancellationException;->getCause()Ljava/lang/Throwable;
move-result-object v0
invoke-static {p1, v0}, Lz/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_0
goto :goto_0
:cond_0
const/4 p1, 0x0
goto :goto_1
:cond_1
:goto_0
const/4 p1, 0x1
:goto_1
return p1
.end method
.method public fillInStackTrace()Ljava/lang/Throwable;
.locals 1
const/4 v0, 0x0
new-array v0, v0, [Ljava/lang/StackTraceElement;
invoke-virtual {p0, v0}, Ljava/util/concurrent/CancellationException;->setStackTrace([Ljava/lang/StackTraceElement;)V
return-object p0
.end method
.method public hashCode()I
.locals 2
invoke-virtual {p0}, Ljava/util/concurrent/CancellationException;->getMessage()Ljava/lang/String;
move-result-object v0
if-eqz v0, :cond_1
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
move-result v0
mul-int/lit8 v0, v0, 0x1f
iget-object v1, p0, Lkotlinx/coroutines/JobCancellationException;->job:Lkotlinx/coroutines/Job;
invoke-virtual {v1}, Ljava/lang/Object;->hashCode()I
move-result v1
add-int/2addr v1, v0
mul-int/lit8 v1, v1, 0x1f
invoke-virtual {p0}, Ljava/util/concurrent/CancellationException;->getCause()Ljava/lang/Throwable;
move-result-object v0
if-eqz v0, :cond_0
invoke-virtual {v0}, Ljava/lang/Throwable;->hashCode()I
move-result v0
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
add-int/2addr v1, v0
return v1
:cond_1
invoke-static {}, Lz/n/c/j;->throwNpe()V
const/4 v0, 0x0
throw v0
.end method
.method public toString()Ljava/lang/String;
.locals 2
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
invoke-super {p0}, Ljava/util/concurrent/CancellationException;->toString()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, "; job="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lkotlinx/coroutines/JobCancellationException;->job:Lkotlinx/coroutines/Job;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method

View file

@ -0,0 +1,18 @@
.class public final Lkotlinx/coroutines/TimeoutCancellationException;
.super Ljava/util/concurrent/CancellationException;
.source "Timeout.kt"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/CancellationException;",
"Ljava/lang/Object<",
"Lkotlinx/coroutines/TimeoutCancellationException;",
">;"
}
.end annotation
# instance fields
.field public final coroutine:Lkotlinx/coroutines/Job;

View file

@ -0,0 +1,58 @@
.class public final Lkotlinx/coroutines/android/AndroidDispatcherFactory;
.super Ljava/lang/Object;
.source "HandlerDispatcher.kt"
# interfaces
.implements Lkotlinx/coroutines/internal/MainDispatcherFactory;
# 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 a()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
.method public b(Ljava/util/List;)La0/a/d1;
.locals 3
new-instance p1, La0/a/p1/a;
invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;
move-result-object v0
const/4 v1, 0x1
invoke-static {v0, v1}, La0/a/p1/c;->a(Landroid/os/Looper;Z)Landroid/os/Handler;
move-result-object v0
const/4 v1, 0x0
const/4 v2, 0x0
invoke-direct {p1, v0, v1, v2}, La0/a/p1/a;-><init>(Landroid/os/Handler;Ljava/lang/String;Z)V
return-object p1
.end method
.method public c()I
.locals 1
const v0, 0x3fffffff # 1.9999999f
return v0
.end method

View file

@ -0,0 +1,159 @@
.class public final Lkotlinx/coroutines/android/AndroidExceptionPreHandler;
.super Lz/k/a;
.source "AndroidExceptionPreHandler.kt"
# interfaces
.implements Lkotlinx/coroutines/CoroutineExceptionHandler;
# annotations
.annotation build Landroidx/annotation/Keep;
.end annotation
# instance fields
.field public volatile _preHandler:Ljava/lang/Object;
# direct methods
.method public constructor <init>()V
.locals 1
sget-object v0, Lkotlinx/coroutines/CoroutineExceptionHandler;->b:Lkotlinx/coroutines/CoroutineExceptionHandler$a;
invoke-direct {p0, v0}, Lz/k/a;-><init>(Lkotlin/coroutines/CoroutineContext$b;)V
iput-object p0, p0, Lkotlinx/coroutines/android/AndroidExceptionPreHandler;->_preHandler:Ljava/lang/Object;
return-void
.end method
.method private final preHandler()Ljava/lang/reflect/Method;
.locals 5
iget-object v0, p0, Lkotlinx/coroutines/android/AndroidExceptionPreHandler;->_preHandler:Ljava/lang/Object;
if-eq v0, p0, :cond_0
check-cast v0, Ljava/lang/reflect/Method;
return-object v0
:cond_0
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
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_1
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_1
const/4 v3, 0x1
:cond_1
if-eqz v3, :cond_2
move-object v0, v1
:catchall_0
:cond_2
iput-object v0, p0, Lkotlinx/coroutines/android/AndroidExceptionPreHandler;->_preHandler:Ljava/lang/Object;
return-object v0
.end method
# virtual methods
.method public handleException(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Throwable;)V
.locals 3
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
move-result-object p1
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x1c
if-lt v0, v1, :cond_0
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;->preHandler()Ljava/lang/reflect/Method;
move-result-object v0
const/4 v1, 0x0
if-eqz v0, :cond_1
const/4 v2, 0x0
new-array v2, v2, [Ljava/lang/Object;
invoke-virtual {v0, v1, v2}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
goto :goto_0
:cond_1
move-object v0, v1
:goto_0
instance-of v2, v0, Ljava/lang/Thread$UncaughtExceptionHandler;
if-nez v2, :cond_2
goto :goto_1
:cond_2
move-object v1, v0
:goto_1
check-cast v1, Ljava/lang/Thread$UncaughtExceptionHandler;
if-eqz v1, :cond_3
invoke-interface {v1, p1, p2}, Ljava/lang/Thread$UncaughtExceptionHandler;->uncaughtException(Ljava/lang/Thread;Ljava/lang/Throwable;)V
:cond_3
:goto_2
return-void
.end method

View file

@ -0,0 +1,3 @@
.class public final Lkotlinx/coroutines/channels/ClosedReceiveChannelException;
.super Ljava/util/NoSuchElementException;
.source "Channel.kt"

View file

@ -0,0 +1,3 @@
.class public final Lkotlinx/coroutines/channels/ClosedSendChannelException;
.super Ljava/lang/IllegalStateException;
.source "Channel.kt"

View file

@ -0,0 +1,28 @@
.class public final Lkotlinx/coroutines/flow/internal/AbortFlowException;
.super Ljava/util/concurrent/CancellationException;
.source "FlowExceptions.kt"
# instance fields
.field public final owner:La0/a/q1/a;
.annotation system Ldalvik/annotation/Signature;
value = {
"La0/a/q1/a<",
"*>;"
}
.end annotation
.end field
# virtual methods
.method public fillInStackTrace()Ljava/lang/Throwable;
.locals 1
const/4 v0, 0x0
new-array v0, v0, [Ljava/lang/StackTraceElement;
invoke-virtual {p0, v0}, Ljava/util/concurrent/CancellationException;->setStackTrace([Ljava/lang/StackTraceElement;)V
return-object p0
.end method

View file

@ -0,0 +1,29 @@
.class public final Lkotlinx/coroutines/flow/internal/ChildCancelledException;
.super Ljava/util/concurrent/CancellationException;
.source "FlowExceptions.kt"
# direct methods
.method public constructor <init>()V
.locals 1
const-string v0, "Child of the scoped flow was cancelled"
invoke-direct {p0, v0}, Ljava/util/concurrent/CancellationException;-><init>(Ljava/lang/String;)V
return-void
.end method
# virtual methods
.method public fillInStackTrace()Ljava/lang/Throwable;
.locals 1
const/4 v0, 0x0
new-array v0, v0, [Ljava/lang/StackTraceElement;
invoke-virtual {p0, v0}, Ljava/util/concurrent/CancellationException;->setStackTrace([Ljava/lang/StackTraceElement;)V
return-object p0
.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 a()Ljava/lang/String;
.end method
.method public abstract b(Ljava/util/List;)La0/a/d1;
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"+",
"Lkotlinx/coroutines/internal/MainDispatcherFactory;",
">;)",
"La0/a/d1;"
}
.end annotation
.end method
.method public abstract c()I
.end method