2020-09-10 21:23:57 +00:00
|
|
|
.class public final Ls0/i;
|
|
|
|
.super Ls0/e$a;
|
|
|
|
.source "DefaultCallAdapterFactory.java"
|
2020-09-02 04:07:20 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
2020-09-10 21:23:57 +00:00
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
2020-09-02 04:07:20 +00:00
|
|
|
value = {
|
2020-09-10 21:23:57 +00:00
|
|
|
Ls0/i$b;
|
2020-09-02 04:07:20 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2020-09-10 21:23:57 +00:00
|
|
|
.field public final a:Ljava/util/concurrent/Executor;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2020-09-10 21:23:57 +00:00
|
|
|
.method public constructor <init>(Ljava/util/concurrent/Executor;)V
|
|
|
|
.locals 0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-direct {p0}, Ls0/e$a;-><init>()V
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iput-object p1, p0, Ls0/i;->a:Ljava/util/concurrent/Executor;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2020-09-10 21:23:57 +00:00
|
|
|
.method public a(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Ls0/d0;)Ls0/e;
|
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Ljava/lang/reflect/Type;",
|
|
|
|
"[",
|
|
|
|
"Ljava/lang/annotation/Annotation;",
|
|
|
|
"Ls0/d0;",
|
|
|
|
")",
|
|
|
|
"Ls0/e<",
|
|
|
|
"**>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {p1}, Ls0/h0;->f(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
move-result-object p3
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
const-class v0, Ls0/d;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
const/4 v1, 0x0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
if-eq p3, v0, :cond_0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
return-object v1
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
:cond_0
|
|
|
|
instance-of p3, p1, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
if-eqz p3, :cond_2
|
|
|
|
|
|
|
|
const/4 p3, 0x0
|
|
|
|
|
|
|
|
check-cast p1, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
invoke-static {p3, p1}, Ls0/h0;->e(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const-class p3, Ls0/f0;
|
|
|
|
|
|
|
|
invoke-static {p2, p3}, Ls0/h0;->i([Ljava/lang/annotation/Annotation;Ljava/lang/Class;)Z
|
|
|
|
|
|
|
|
move-result p2
|
|
|
|
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
iget-object v1, p0, Ls0/i;->a:Ljava/util/concurrent/Executor;
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
new-instance p2, Ls0/i$a;
|
|
|
|
|
|
|
|
invoke-direct {p2, p0, p1, v1}, Ls0/i$a;-><init>(Ls0/i;Ljava/lang/reflect/Type;Ljava/util/concurrent/Executor;)V
|
|
|
|
|
|
|
|
return-object p2
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
const-string p2, "Call return type must be parameterized as Call<Foo> or Call<? extends Foo>"
|
|
|
|
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p1
|
2020-09-02 04:07:20 +00:00
|
|
|
.end method
|