115 lines
2.7 KiB
Smali
115 lines
2.7 KiB
Smali
.class public Lt/m$b;
|
|
.super Lt/m;
|
|
.source "Platform.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lt/m;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "b"
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Lt/m;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public varargs a(Ljava/lang/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 6
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/reflect/Method;",
|
|
"Ljava/lang/Class<",
|
|
"*>;",
|
|
"Ljava/lang/Object;",
|
|
"[",
|
|
"Ljava/lang/Object;",
|
|
")",
|
|
"Ljava/lang/Object;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/lang/Throwable;
|
|
}
|
|
.end annotation
|
|
|
|
const-class v0, Ljava/lang/invoke/MethodHandles$Lookup;
|
|
|
|
const/4 v1, 0x2
|
|
|
|
new-array v2, v1, [Ljava/lang/Class;
|
|
|
|
const-class v3, Ljava/lang/Class;
|
|
|
|
const/4 v4, 0x0
|
|
|
|
aput-object v3, v2, v4
|
|
|
|
sget-object v3, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
|
|
|
|
const/4 v5, 0x1
|
|
|
|
aput-object v3, v2, v5
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/Class;->getDeclaredConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, v5}, Ljava/lang/reflect/Constructor;->setAccessible(Z)V
|
|
|
|
new-array v1, v1, [Ljava/lang/Object;
|
|
|
|
aput-object p2, v1, v4
|
|
|
|
const/4 v2, -0x1
|
|
|
|
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v2
|
|
|
|
aput-object v2, v1, v5
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/reflect/Constructor;->newInstance([Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/lang/invoke/MethodHandles$Lookup;
|
|
|
|
invoke-virtual {v0, p1, p2}, Ljava/lang/invoke/MethodHandles$Lookup;->unreflectSpecial(Ljava/lang/reflect/Method;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1, p3}, Ljava/lang/invoke/MethodHandle;->bindTo(Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1, p4}, Ljava/lang/invoke/MethodHandle;->invokeWithArguments([Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public a(Ljava/lang/reflect/Method;)Z
|
|
.locals 0
|
|
|
|
invoke-virtual {p1}, Ljava/lang/reflect/Method;->isDefault()Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|