184 lines
4.3 KiB
Smali
184 lines
4.3 KiB
Smali
.class final Lretrofit2/ExecutorCallAdapterFactory$a;
|
|
.super Ljava/lang/Object;
|
|
.source "ExecutorCallAdapterFactory.java"
|
|
|
|
# interfaces
|
|
.implements Lretrofit2/Call;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lretrofit2/ExecutorCallAdapterFactory;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x18
|
|
name = "a"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Ljava/lang/Object;",
|
|
"Lretrofit2/Call<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final a:Ljava/util/concurrent/Executor;
|
|
|
|
.field final b:Lretrofit2/Call;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lretrofit2/Call<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Ljava/util/concurrent/Executor;Lretrofit2/Call;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/concurrent/Executor;",
|
|
"Lretrofit2/Call<",
|
|
"TT;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 52
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 53
|
|
iput-object p1, p0, Lretrofit2/ExecutorCallAdapterFactory$a;->a:Ljava/util/concurrent/Executor;
|
|
|
|
.line 54
|
|
iput-object p2, p0, Lretrofit2/ExecutorCallAdapterFactory$a;->b:Lretrofit2/Call;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a()Lretrofit2/Response;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Lretrofit2/Response<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 89
|
|
iget-object v0, p0, Lretrofit2/ExecutorCallAdapterFactory$a;->b:Lretrofit2/Call;
|
|
|
|
invoke-interface {v0}, Lretrofit2/Call;->a()Lretrofit2/Response;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public a(Lretrofit2/Callback;)V
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lretrofit2/Callback<",
|
|
"TT;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
.line 58
|
|
new-instance p1, Ljava/lang/NullPointerException;
|
|
|
|
const-string v0, "callback == null"
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
.line 60
|
|
:cond_0
|
|
iget-object v0, p0, Lretrofit2/ExecutorCallAdapterFactory$a;->b:Lretrofit2/Call;
|
|
|
|
new-instance v1, Lretrofit2/ExecutorCallAdapterFactory$a$1;
|
|
|
|
invoke-direct {v1, p0, p1}, Lretrofit2/ExecutorCallAdapterFactory$a$1;-><init>(Lretrofit2/ExecutorCallAdapterFactory$a;Lretrofit2/Callback;)V
|
|
|
|
invoke-interface {v0, v1}, Lretrofit2/Call;->a(Lretrofit2/Callback;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public b()Z
|
|
.locals 1
|
|
|
|
.line 97
|
|
iget-object v0, p0, Lretrofit2/ExecutorCallAdapterFactory$a;->b:Lretrofit2/Call;
|
|
|
|
invoke-interface {v0}, Lretrofit2/Call;->b()Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public c()Lretrofit2/Call;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Lretrofit2/Call<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 102
|
|
new-instance v0, Lretrofit2/ExecutorCallAdapterFactory$a;
|
|
|
|
iget-object v1, p0, Lretrofit2/ExecutorCallAdapterFactory$a;->a:Ljava/util/concurrent/Executor;
|
|
|
|
iget-object v2, p0, Lretrofit2/ExecutorCallAdapterFactory$a;->b:Lretrofit2/Call;
|
|
|
|
invoke-interface {v2}, Lretrofit2/Call;->c()Lretrofit2/Call;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-direct {v0, v1, v2}, Lretrofit2/ExecutorCallAdapterFactory$a;-><init>(Ljava/util/concurrent/Executor;Lretrofit2/Call;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public synthetic clone()Ljava/lang/Object;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/lang/CloneNotSupportedException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 48
|
|
invoke-virtual {p0}, Lretrofit2/ExecutorCallAdapterFactory$a;->c()Lretrofit2/Call;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|