101 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			101 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
| .class final Lretrofit2/CompletableFutureCallAdapterFactory$BodyCallAdapter;
 | |
| .super Ljava/lang/Object;
 | |
| .source "CompletableFutureCallAdapterFactory.java"
 | |
| 
 | |
| # interfaces
 | |
| .implements Lretrofit2/CallAdapter;
 | |
| 
 | |
| 
 | |
| # annotations
 | |
| .annotation system Ldalvik/annotation/EnclosingClass;
 | |
|     value = Lretrofit2/CompletableFutureCallAdapterFactory;
 | |
| .end annotation
 | |
| 
 | |
| .annotation system Ldalvik/annotation/InnerClass;
 | |
|     accessFlags = 0x19
 | |
|     name = "BodyCallAdapter"
 | |
| .end annotation
 | |
| 
 | |
| .annotation system Ldalvik/annotation/Signature;
 | |
|     value = {
 | |
|         "<R:",
 | |
|         "Ljava/lang/Object;",
 | |
|         ">",
 | |
|         "Ljava/lang/Object;",
 | |
|         "Lretrofit2/CallAdapter<",
 | |
|         "TR;",
 | |
|         "Ljava/util/concurrent/CompletableFuture<",
 | |
|         "TR;>;>;"
 | |
|     }
 | |
| .end annotation
 | |
| 
 | |
| .annotation build Lorg/codehaus/mojo/animal_sniffer/IgnoreJRERequirement;
 | |
| .end annotation
 | |
| 
 | |
| 
 | |
| # instance fields
 | |
| .field private final responseType:Ljava/lang/reflect/Type;
 | |
| 
 | |
| 
 | |
| # direct methods
 | |
| .method public constructor <init>(Ljava/lang/reflect/Type;)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-direct {p0}, Ljava/lang/Object;-><init>()V
 | |
| 
 | |
|     .line 2
 | |
|     iput-object p1, p0, Lretrofit2/CompletableFutureCallAdapterFactory$BodyCallAdapter;->responseType:Ljava/lang/reflect/Type;
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| 
 | |
| # virtual methods
 | |
| .method public bridge synthetic adapt(Lretrofit2/Call;)Ljava/lang/Object;
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p0, p1}, Lretrofit2/CompletableFutureCallAdapterFactory$BodyCallAdapter;->adapt(Lretrofit2/Call;)Ljava/util/concurrent/CompletableFuture;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     return-object p1
 | |
| .end method
 | |
| 
 | |
| .method public adapt(Lretrofit2/Call;)Ljava/util/concurrent/CompletableFuture;
 | |
|     .locals 2
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "(",
 | |
|             "Lretrofit2/Call<",
 | |
|             "TR;>;)",
 | |
|             "Ljava/util/concurrent/CompletableFuture<",
 | |
|             "TR;>;"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 2
 | |
|     new-instance v0, Lretrofit2/CompletableFutureCallAdapterFactory$BodyCallAdapter$1;
 | |
| 
 | |
|     invoke-direct {v0, p0, p1}, Lretrofit2/CompletableFutureCallAdapterFactory$BodyCallAdapter$1;-><init>(Lretrofit2/CompletableFutureCallAdapterFactory$BodyCallAdapter;Lretrofit2/Call;)V
 | |
| 
 | |
|     .line 3
 | |
|     new-instance v1, Lretrofit2/CompletableFutureCallAdapterFactory$BodyCallAdapter$2;
 | |
| 
 | |
|     invoke-direct {v1, p0, v0}, Lretrofit2/CompletableFutureCallAdapterFactory$BodyCallAdapter$2;-><init>(Lretrofit2/CompletableFutureCallAdapterFactory$BodyCallAdapter;Ljava/util/concurrent/CompletableFuture;)V
 | |
| 
 | |
|     invoke-interface {p1, v1}, Lretrofit2/Call;->enqueue(Lretrofit2/Callback;)V
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public responseType()Ljava/lang/reflect/Type;
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lretrofit2/CompletableFutureCallAdapterFactory$BodyCallAdapter;->responseType:Ljava/lang/reflect/Type;
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 |