apkfuckery/com.discord/smali_classes2/q0/l$b.smali

119 lines
2.8 KiB
Smali
Raw Normal View History

2020-07-23 01:06:17 +00:00
.class public Lq0/l$b;
.super Lq0/l;
2020-05-17 12:40:10 +00:00
.source "Platform.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2020-07-23 01:06:17 +00:00
value = Lq0/l;
2020-05-17 12:40:10 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "b"
.end annotation
2020-07-08 16:44:49 +00:00
.annotation build Lorg/codehaus/mojo/animal_sniffer/IgnoreJRERequirement;
.end annotation
2020-05-17 12:40:10 +00:00
# direct methods
.method public constructor <init>()V
.locals 0
2020-07-23 01:06:17 +00:00
invoke-direct {p0}, Lq0/l;-><init>()V
2020-05-17 12:40:10 +00:00
return-void
.end method
# virtual methods
2020-07-08 16:44:49 +00:00
.method public varargs c(Ljava/lang/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
.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
2020-07-08 16:44:49 +00:00
.method public d(Ljava/lang/reflect/Method;)Z
2020-05-17 12:40:10 +00:00
.locals 0
invoke-virtual {p1}, Ljava/lang/reflect/Method;->isDefault()Z
move-result p1
return p1
.end method