95 lines
2.1 KiB
Smali
95 lines
2.1 KiB
Smali
.class public Ld0/p;
|
|
.super Ljava/lang/Object;
|
|
.source "Retrofit.java"
|
|
|
|
# interfaces
|
|
.implements Ljava/lang/reflect/InvocationHandler;
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Ld0/m;
|
|
|
|
.field public final synthetic b:Ljava/lang/Class;
|
|
|
|
.field public final synthetic c:Ld0/q;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ld0/q;Ljava/lang/Class;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Ld0/p;->c:Ld0/q;
|
|
|
|
iput-object p2, p0, Ld0/p;->b:Ljava/lang/Class;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
sget-object p1, Ld0/m;->a:Ld0/m;
|
|
|
|
iput-object p1, p0, Ld0/p;->a:Ld0/m;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/lang/Throwable;
|
|
}
|
|
.end annotation
|
|
|
|
invoke-virtual {p2}, Ljava/lang/reflect/Method;->getDeclaringClass()Ljava/lang/Class;
|
|
|
|
move-result-object v0
|
|
|
|
const-class v1, Ljava/lang/Object;
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
invoke-virtual {p2, p0, p3}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Ld0/p;->a:Ld0/m;
|
|
|
|
invoke-virtual {v0, p2}, Ld0/m;->a(Ljava/lang/reflect/Method;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iget-object v0, p0, Ld0/p;->a:Ld0/m;
|
|
|
|
iget-object v1, p0, Ld0/p;->b:Ljava/lang/Class;
|
|
|
|
invoke-virtual {v0, p2, v1, p1, p3}, Ld0/m;->a(Ljava/lang/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
:cond_1
|
|
iget-object p1, p0, Ld0/p;->c:Ld0/q;
|
|
|
|
invoke-virtual {p1, p2}, Ld0/q;->a(Ljava/lang/reflect/Method;)Ld0/r;
|
|
|
|
move-result-object p1
|
|
|
|
new-instance p2, Ld0/i;
|
|
|
|
invoke-direct {p2, p1, p3}, Ld0/i;-><init>(Ld0/r;[Ljava/lang/Object;)V
|
|
|
|
iget-object p1, p1, Ld0/r;->b:Ld0/c;
|
|
|
|
invoke-interface {p1, p2}, Ld0/c;->a(Ld0/b;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|