apkfuckery/com.discord/smali_classes2/q0/l$b.smali
2020-07-08 16:44:49 +00:00

118 lines
2.8 KiB
Smali

.class public Lq0/l$b;
.super Lq0/l;
.source "Platform.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lq0/l;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "b"
.end annotation
.annotation build Lorg/codehaus/mojo/animal_sniffer/IgnoreJRERequirement;
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Lq0/l;-><init>()V
return-void
.end method
# virtual methods
.method public varargs c(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 d(Ljava/lang/reflect/Method;)Z
.locals 0
invoke-virtual {p1}, Ljava/lang/reflect/Method;->isDefault()Z
move-result p1
return p1
.end method