.class Lretrofit2/OkHttpCall$1; .super Ljava/lang/Object; .source "OkHttpCall.java" # interfaces .implements Lokhttp3/Callback; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lretrofit2/OkHttpCall;->enqueue(Lretrofit2/Callback;)V .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x1 name = null .end annotation # instance fields .field public final synthetic this$0:Lretrofit2/OkHttpCall; .field public final synthetic val$callback:Lretrofit2/Callback; # direct methods .method public constructor (Lretrofit2/OkHttpCall;Lretrofit2/Callback;)V .locals 0 .line 1 iput-object p1, p0, Lretrofit2/OkHttpCall$1;->this$0:Lretrofit2/OkHttpCall; iput-object p2, p0, Lretrofit2/OkHttpCall$1;->val$callback:Lretrofit2/Callback; invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method .method private callFailure(Ljava/lang/Throwable;)V .locals 2 .line 1 :try_start_0 iget-object v0, p0, Lretrofit2/OkHttpCall$1;->val$callback:Lretrofit2/Callback; iget-object v1, p0, Lretrofit2/OkHttpCall$1;->this$0:Lretrofit2/OkHttpCall; invoke-interface {v0, v1, p1}, Lretrofit2/Callback;->onFailure(Lretrofit2/Call;Ljava/lang/Throwable;)V :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 goto :goto_0 :catchall_0 move-exception p1 .line 2 invoke-static {p1}, Lretrofit2/Utils;->throwIfFatal(Ljava/lang/Throwable;)V .line 3 invoke-virtual {p1}, Ljava/lang/Throwable;->printStackTrace()V :goto_0 return-void .end method # virtual methods .method public onFailure(Lokhttp3/Call;Ljava/io/IOException;)V .locals 0 .line 1 invoke-direct {p0, p2}, Lretrofit2/OkHttpCall$1;->callFailure(Ljava/lang/Throwable;)V return-void .end method .method public onResponse(Lokhttp3/Call;Lokhttp3/Response;)V .locals 1 .line 1 :try_start_0 iget-object p1, p0, Lretrofit2/OkHttpCall$1;->this$0:Lretrofit2/OkHttpCall; invoke-virtual {p1, p2}, Lretrofit2/OkHttpCall;->parseResponse(Lokhttp3/Response;)Lretrofit2/Response; move-result-object p1 :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_1 .line 2 :try_start_1 iget-object p2, p0, Lretrofit2/OkHttpCall$1;->val$callback:Lretrofit2/Callback; iget-object v0, p0, Lretrofit2/OkHttpCall$1;->this$0:Lretrofit2/OkHttpCall; invoke-interface {p2, v0, p1}, Lretrofit2/Callback;->onResponse(Lretrofit2/Call;Lretrofit2/Response;)V :try_end_1 .catchall {:try_start_1 .. :try_end_1} :catchall_0 goto :goto_0 :catchall_0 move-exception p1 .line 3 invoke-static {p1}, Lretrofit2/Utils;->throwIfFatal(Ljava/lang/Throwable;)V .line 4 invoke-virtual {p1}, Ljava/lang/Throwable;->printStackTrace()V :goto_0 return-void :catchall_1 move-exception p1 .line 5 invoke-static {p1}, Lretrofit2/Utils;->throwIfFatal(Ljava/lang/Throwable;)V .line 6 invoke-direct {p0, p1}, Lretrofit2/OkHttpCall$1;->callFailure(Ljava/lang/Throwable;)V return-void .end method