apkfuckery/com.discord/smali/b/k$b.smali
2019-02-04 21:29:01 +01:00

122 lines
2.9 KiB
Smali

.class final Lb/k$b;
.super Lb/k;
.source "Platform.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lb/k;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x8
name = "b"
.end annotation
.annotation build Lorg/codehaus/mojo/animal_sniffer/IgnoreJRERequirement;
.end annotation
# direct methods
.method constructor <init>()V
.locals 0
invoke-direct {p0}, Lb/k;-><init>()V
return-void
.end method
# virtual methods
.method final varargs a(Ljava/lang/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
.locals 6
.param p4 # [Ljava/lang/Object;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
.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 final a(Ljava/lang/reflect/Method;)Z
.locals 0
invoke-virtual {p1}, Ljava/lang/reflect/Method;->isDefault()Z
move-result p1
return p1
.end method