apkfuckery/com.discord/smali_classes2/s0/g$a$a.smali

119 lines
2.8 KiB
Smali
Raw Normal View History

2020-09-10 21:23:57 +00:00
.class public Ls0/g$a$a;
2020-09-09 19:21:20 +00:00
.super Ljava/lang/Object;
.source "CompletableFutureCallAdapterFactory.java"
# interfaces
2020-09-10 21:23:57 +00:00
.implements Ls0/f;
2020-09-09 19:21:20 +00:00
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2020-09-10 21:23:57 +00:00
value = Ls0/g$a;
2020-09-09 19:21:20 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = "a"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
2020-09-10 21:23:57 +00:00
"Ls0/f<",
2020-09-09 19:21:20 +00:00
"TR;>;"
}
.end annotation
.annotation build Lorg/codehaus/mojo/animal_sniffer/IgnoreJRERequirement;
.end annotation
# instance fields
.field public final a:Ljava/util/concurrent/CompletableFuture;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/CompletableFuture<",
"TR;>;"
}
.end annotation
.end field
# direct methods
2020-09-10 21:23:57 +00:00
.method public constructor <init>(Ls0/g$a;Ljava/util/concurrent/CompletableFuture;)V
2020-09-09 19:21:20 +00:00
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/concurrent/CompletableFuture<",
"TR;>;)V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2020-09-10 21:23:57 +00:00
iput-object p2, p0, Ls0/g$a$a;->a:Ljava/util/concurrent/CompletableFuture;
2020-09-09 19:21:20 +00:00
return-void
.end method
# virtual methods
2020-09-10 21:23:57 +00:00
.method public a(Ls0/d;Ljava/lang/Throwable;)V
2020-09-09 19:21:20 +00:00
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
2020-09-10 21:23:57 +00:00
"Ls0/d<",
2020-09-09 19:21:20 +00:00
"TR;>;",
"Ljava/lang/Throwable;",
")V"
}
.end annotation
2020-09-10 21:23:57 +00:00
iget-object p1, p0, Ls0/g$a$a;->a:Ljava/util/concurrent/CompletableFuture;
2020-09-09 19:21:20 +00:00
invoke-virtual {p1, p2}, Ljava/util/concurrent/CompletableFuture;->completeExceptionally(Ljava/lang/Throwable;)Z
return-void
.end method
2020-09-10 21:23:57 +00:00
.method public b(Ls0/d;Ls0/b0;)V
2020-09-09 19:21:20 +00:00
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
2020-09-10 21:23:57 +00:00
"Ls0/d<",
2020-09-09 19:21:20 +00:00
"TR;>;",
2020-09-10 21:23:57 +00:00
"Ls0/b0<",
2020-09-09 19:21:20 +00:00
"TR;>;)V"
}
.end annotation
2020-09-10 21:23:57 +00:00
invoke-virtual {p2}, Ls0/b0;->a()Z
2020-09-09 19:21:20 +00:00
move-result p1
if-eqz p1, :cond_0
2020-09-10 21:23:57 +00:00
iget-object p1, p0, Ls0/g$a$a;->a:Ljava/util/concurrent/CompletableFuture;
2020-09-09 19:21:20 +00:00
2020-09-10 21:23:57 +00:00
iget-object p2, p2, Ls0/b0;->b:Ljava/lang/Object;
2020-09-09 19:21:20 +00:00
invoke-virtual {p1, p2}, Ljava/util/concurrent/CompletableFuture;->complete(Ljava/lang/Object;)Z
goto :goto_0
:cond_0
2020-09-10 21:23:57 +00:00
iget-object p1, p0, Ls0/g$a$a;->a:Ljava/util/concurrent/CompletableFuture;
2020-09-09 19:21:20 +00:00
new-instance v0, Lretrofit2/HttpException;
2020-09-10 21:23:57 +00:00
invoke-direct {v0, p2}, Lretrofit2/HttpException;-><init>(Ls0/b0;)V
2020-09-09 19:21:20 +00:00
invoke-virtual {p1, v0}, Ljava/util/concurrent/CompletableFuture;->completeExceptionally(Ljava/lang/Throwable;)Z
:goto_0
return-void
.end method