76 lines
1.8 KiB
Smali
76 lines
1.8 KiB
Smali
.class final Lretrofit2/DefaultCallAdapterFactory;
|
|
.super Lretrofit2/CallAdapter$a;
|
|
.source "DefaultCallAdapterFactory.java"
|
|
|
|
|
|
# static fields
|
|
.field static final a:Lretrofit2/CallAdapter$a;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
.line 27
|
|
new-instance v0, Lretrofit2/DefaultCallAdapterFactory;
|
|
|
|
invoke-direct {v0}, Lretrofit2/DefaultCallAdapterFactory;-><init>()V
|
|
|
|
sput-object v0, Lretrofit2/DefaultCallAdapterFactory;->a:Lretrofit2/CallAdapter$a;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 26
|
|
invoke-direct {p0}, Lretrofit2/CallAdapter$a;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Lretrofit2/Retrofit;)Lretrofit2/CallAdapter;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/reflect/Type;",
|
|
"[",
|
|
"Ljava/lang/annotation/Annotation;",
|
|
"Lretrofit2/Retrofit;",
|
|
")",
|
|
"Lretrofit2/CallAdapter<",
|
|
"*>;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 31
|
|
invoke-static {p1}, Lretrofit2/DefaultCallAdapterFactory;->a(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
|
|
|
move-result-object p2
|
|
|
|
const-class p3, Lretrofit2/Call;
|
|
|
|
if-eq p2, p3, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return-object p1
|
|
|
|
.line 35
|
|
:cond_0
|
|
invoke-static {p1}, Lretrofit2/Utils;->e(Ljava/lang/reflect/Type;)Ljava/lang/reflect/Type;
|
|
|
|
move-result-object p1
|
|
|
|
.line 36
|
|
new-instance p2, Lretrofit2/DefaultCallAdapterFactory$1;
|
|
|
|
invoke-direct {p2, p0, p1}, Lretrofit2/DefaultCallAdapterFactory$1;-><init>(Lretrofit2/DefaultCallAdapterFactory;Ljava/lang/reflect/Type;)V
|
|
|
|
return-object p2
|
|
.end method
|