Interception.smali
.class public Lorg/acdd/hack/Interception;
.super Ljava/lang/Object;
.source "Interception.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lorg/acdd/hack/Interception$InterceptionHandler;,
Lorg/acdd/hack/Interception$Intercepted;
}
.end annotation
# direct methods
.method private constructor <init>()V
.registers 1
.prologue
.line 87
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 88
return-void
.end method
.method public static proxy(Ljava/lang/Object;Ljava/lang/Class;Lorg/acdd/hack/Interception$InterceptionHandler;)Ljava/lang/Object;
.registers 7
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/IllegalArgumentException;
}
.end annotation
.prologue
.line 71
instance-of v0, p0, Lorg/acdd/hack/Interception$Intercepted;
if-eqz v0, :cond_5
.line 75
:goto_4
return-object p0
.line 74
:cond_5
invoke-virtual {p2, p0}, Lorg/acdd/hack/Interception$InterceptionHandler;->setDelegatee(Ljava/lang/Object;)V
.line 75
const-class v0, Lorg/acdd/hack/Interception;
invoke-virtual {v0}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
move-result-object v0
const/4 v1, 0x2
new-array v1, v1, [Ljava/lang/Class;
const/4 v2, 0x0
aput-object p1, v1, v2
const/4 v2, 0x1
const-class v3, Lorg/acdd/hack/Interception$Intercepted;
aput-object v3, v1, v2
invoke-static {v0, v1, p2}, Ljava/lang/reflect/Proxy;->newProxyInstance(Ljava/lang/ClassLoader;[Ljava/lang/Class;Ljava/lang/reflect/InvocationHandler;)Ljava/lang/Object;
move-result-object p0
goto :goto_4
.end method
.method public static varargs proxy(Ljava/lang/Object;Lorg/acdd/hack/Interception$InterceptionHandler;[Ljava/lang/Class;)Ljava/lang/Object;
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Object;",
"Lorg/acdd/hack/Interception$InterceptionHandler;",
"[",
"Ljava/lang/Class",
"<*>;)",
"Ljava/lang/Object;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/IllegalArgumentException;
}
.end annotation
.prologue
.line 82
invoke-virtual {p1, p0}, Lorg/acdd/hack/Interception$InterceptionHandler;->setDelegatee(Ljava/lang/Object;)V
.line 83
const-class v0, Lorg/acdd/hack/Interception;
invoke-virtual {v0}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
move-result-object v0
invoke-static {v0, p2, p1}, Ljava/lang/reflect/Proxy;->newProxyInstance(Ljava/lang/ClassLoader;[Ljava/lang/Class;Ljava/lang/reflect/InvocationHandler;)Ljava/lang/Object;
move-result-object v0
return-object v0
.end method