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