Files
vtosters/smali/smali_classes5/retrofit2/DefaultCallAdapterFactory.smali
T

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 1
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 1
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 1
invoke-static {p1}, Lretrofit2/CallAdapter$a;->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 2
:cond_0
invoke-static {p1}, Lretrofit2/Utils;->b(Ljava/lang/reflect/Type;)Ljava/lang/reflect/Type;
move-result-object p1
.line 3
new-instance p2, Lretrofit2/DefaultCallAdapterFactory$a;
invoke-direct {p2, p0, p1}, Lretrofit2/DefaultCallAdapterFactory$a;-><init>(Lretrofit2/DefaultCallAdapterFactory;Ljava/lang/reflect/Type;)V
return-object p2
.end method