125 lines
2.5 KiB
Smali
125 lines
2.5 KiB
Smali
.class public Lg0/a0;
|
|
.super Ljava/lang/Object;
|
|
.source "Retrofit.java"
|
|
|
|
# interfaces
|
|
.implements Ljava/lang/reflect/InvocationHandler;
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Lg0/w;
|
|
|
|
.field public final b:[Ljava/lang/Object;
|
|
|
|
.field public final synthetic c:Ljava/lang/Class;
|
|
|
|
.field public final synthetic d:Lg0/b0;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lg0/b0;Ljava/lang/Class;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()V"
|
|
}
|
|
.end annotation
|
|
|
|
iput-object p1, p0, Lg0/a0;->d:Lg0/b0;
|
|
|
|
iput-object p2, p0, Lg0/a0;->c:Ljava/lang/Class;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
sget-object p1, Lg0/w;->c:Lg0/w;
|
|
|
|
iput-object p1, p0, Lg0/a0;->a:Lg0/w;
|
|
|
|
const/4 p1, 0x0
|
|
|
|
new-array p1, p1, [Ljava/lang/Object;
|
|
|
|
iput-object p1, p0, Lg0/a0;->b:[Ljava/lang/Object;
|
|
|
|
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
|
|
if-eqz p3, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
iget-object p3, p0, Lg0/a0;->b:[Ljava/lang/Object;
|
|
|
|
:goto_0
|
|
iget-object v0, p0, Lg0/a0;->a:Lg0/w;
|
|
|
|
iget-boolean v0, v0, Lg0/w;->a:Z
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
invoke-virtual {p2}, Ljava/lang/reflect/Method;->isDefault()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
const/4 v0, 0x0
|
|
|
|
:goto_1
|
|
if-eqz v0, :cond_3
|
|
|
|
iget-object v0, p0, Lg0/a0;->a:Lg0/w;
|
|
|
|
iget-object v1, p0, Lg0/a0;->c:Ljava/lang/Class;
|
|
|
|
invoke-virtual {v0, p2, v1, p1, p3}, Lg0/w;->b(Ljava/lang/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_3
|
|
iget-object p1, p0, Lg0/a0;->d:Lg0/b0;
|
|
|
|
invoke-virtual {p1, p2}, Lg0/b0;->b(Ljava/lang/reflect/Method;)Lg0/c0;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1, p3}, Lg0/c0;->a([Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
:goto_2
|
|
return-object p1
|
|
.end method
|