2020-11-09 00:01:03 +00:00
|
|
|
.class public Lk0/g$a$a;
|
2020-09-16 23:45:23 +00:00
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "CompletableFutureCallAdapterFactory.java"
|
|
|
|
|
|
|
|
# interfaces
|
2020-11-09 00:01:03 +00:00
|
|
|
.implements Lk0/f;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
2020-11-09 00:01:03 +00:00
|
|
|
value = Lk0/g$a;
|
2020-09-16 23:45:23 +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-11-09 00:01:03 +00:00
|
|
|
"Lk0/f<",
|
2020-09-16 23:45:23 +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-11-09 00:01:03 +00:00
|
|
|
.method public constructor <init>(Lk0/g$a;Ljava/util/concurrent/CompletableFuture;)V
|
2020-09-16 23:45:23 +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-11-09 00:01:03 +00:00
|
|
|
iput-object p2, p0, Lk0/g$a$a;->a:Ljava/util/concurrent/CompletableFuture;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2020-11-09 00:01:03 +00:00
|
|
|
.method public a(Lk0/d;Ljava/lang/Throwable;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
.locals 0
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
2020-11-09 00:01:03 +00:00
|
|
|
"Lk0/d<",
|
2020-09-16 23:45:23 +00:00
|
|
|
"TR;>;",
|
|
|
|
"Ljava/lang/Throwable;",
|
|
|
|
")V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-11-09 00:01:03 +00:00
|
|
|
iget-object p1, p0, Lk0/g$a$a;->a:Ljava/util/concurrent/CompletableFuture;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1, p2}, Ljava/util/concurrent/CompletableFuture;->completeExceptionally(Ljava/lang/Throwable;)Z
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-11-09 00:01:03 +00:00
|
|
|
.method public b(Lk0/d;Lk0/b0;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
2020-11-09 00:01:03 +00:00
|
|
|
"Lk0/d<",
|
2020-09-16 23:45:23 +00:00
|
|
|
"TR;>;",
|
2020-11-09 00:01:03 +00:00
|
|
|
"Lk0/b0<",
|
2020-09-16 23:45:23 +00:00
|
|
|
"TR;>;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-11-09 00:01:03 +00:00
|
|
|
invoke-virtual {p2}, Lk0/b0;->a()Z
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
2020-11-09 00:01:03 +00:00
|
|
|
iget-object p1, p0, Lk0/g$a$a;->a:Ljava/util/concurrent/CompletableFuture;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-11-09 00:01:03 +00:00
|
|
|
iget-object p2, p2, Lk0/b0;->b:Ljava/lang/Object;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1, p2}, Ljava/util/concurrent/CompletableFuture;->complete(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
2020-11-09 00:01:03 +00:00
|
|
|
iget-object p1, p0, Lk0/g$a$a;->a:Ljava/util/concurrent/CompletableFuture;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
new-instance v0, Lretrofit2/HttpException;
|
|
|
|
|
2020-11-09 00:01:03 +00:00
|
|
|
invoke-direct {v0, p2}, Lretrofit2/HttpException;-><init>(Lk0/b0;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Ljava/util/concurrent/CompletableFuture;->completeExceptionally(Ljava/lang/Throwable;)Z
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
return-void
|
|
|
|
.end method
|