89 lines
		
	
	
		
			2.7 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			89 lines
		
	
	
		
			2.7 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
| .class Lretrofit2/CompletableFutureCallAdapterFactory$ResponseCallAdapter$2;
 | |
| .super Ljava/lang/Object;
 | |
| .source "CompletableFutureCallAdapterFactory.java"
 | |
| 
 | |
| # interfaces
 | |
| .implements Lretrofit2/Callback;
 | |
| 
 | |
| 
 | |
| # annotations
 | |
| .annotation system Ldalvik/annotation/EnclosingMethod;
 | |
|     value = Lretrofit2/CompletableFutureCallAdapterFactory$ResponseCallAdapter;->adapt(Lretrofit2/Call;)Ljava/util/concurrent/CompletableFuture;
 | |
| .end annotation
 | |
| 
 | |
| .annotation system Ldalvik/annotation/InnerClass;
 | |
|     accessFlags = 0x1
 | |
|     name = null
 | |
| .end annotation
 | |
| 
 | |
| .annotation system Ldalvik/annotation/Signature;
 | |
|     value = {
 | |
|         "Ljava/lang/Object;",
 | |
|         "Lretrofit2/Callback<",
 | |
|         "TR;>;"
 | |
|     }
 | |
| .end annotation
 | |
| 
 | |
| 
 | |
| # instance fields
 | |
| .field public final synthetic this$0:Lretrofit2/CompletableFutureCallAdapterFactory$ResponseCallAdapter;
 | |
| 
 | |
| .field public final synthetic val$future:Ljava/util/concurrent/CompletableFuture;
 | |
| 
 | |
| 
 | |
| # direct methods
 | |
| .method public constructor <init>(Lretrofit2/CompletableFutureCallAdapterFactory$ResponseCallAdapter;Ljava/util/concurrent/CompletableFuture;)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     iput-object p1, p0, Lretrofit2/CompletableFutureCallAdapterFactory$ResponseCallAdapter$2;->this$0:Lretrofit2/CompletableFutureCallAdapterFactory$ResponseCallAdapter;
 | |
| 
 | |
|     iput-object p2, p0, Lretrofit2/CompletableFutureCallAdapterFactory$ResponseCallAdapter$2;->val$future:Ljava/util/concurrent/CompletableFuture;
 | |
| 
 | |
|     invoke-direct {p0}, Ljava/lang/Object;-><init>()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| 
 | |
| # virtual methods
 | |
| .method public onFailure(Lretrofit2/Call;Ljava/lang/Throwable;)V
 | |
|     .locals 0
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "(",
 | |
|             "Lretrofit2/Call<",
 | |
|             "TR;>;",
 | |
|             "Ljava/lang/Throwable;",
 | |
|             ")V"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object p1, p0, Lretrofit2/CompletableFutureCallAdapterFactory$ResponseCallAdapter$2;->val$future:Ljava/util/concurrent/CompletableFuture;
 | |
| 
 | |
|     invoke-virtual {p1, p2}, Ljava/util/concurrent/CompletableFuture;->completeExceptionally(Ljava/lang/Throwable;)Z
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public onResponse(Lretrofit2/Call;Lretrofit2/Response;)V
 | |
|     .locals 0
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "(",
 | |
|             "Lretrofit2/Call<",
 | |
|             "TR;>;",
 | |
|             "Lretrofit2/Response<",
 | |
|             "TR;>;)V"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object p1, p0, Lretrofit2/CompletableFutureCallAdapterFactory$ResponseCallAdapter$2;->val$future:Ljava/util/concurrent/CompletableFuture;
 | |
| 
 | |
|     invoke-virtual {p1, p2}, Ljava/util/concurrent/CompletableFuture;->complete(Ljava/lang/Object;)Z
 | |
| 
 | |
|     return-void
 | |
| .end method
 |