apkfuckery/com.discord/smali_classes2/j0/k.smali
2020-11-05 20:51:11 +00:00

90 lines
2 KiB
Smali

.class public final Lj0/k;
.super Ljava/lang/Object;
.source "Invocation.java"
# instance fields
.field public final a:Ljava/lang/reflect/Method;
.field public final b:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"*>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Ljava/lang/reflect/Method;Ljava/util/List;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/reflect/Method;",
"Ljava/util/List<",
"*>;)V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lj0/k;->a:Ljava/lang/reflect/Method;
invoke-static {p2}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
move-result-object p1
iput-object p1, p0, Lj0/k;->b:Ljava/util/List;
return-void
.end method
# virtual methods
.method public toString()Ljava/lang/String;
.locals 3
const/4 v0, 0x3
new-array v0, v0, [Ljava/lang/Object;
iget-object v1, p0, Lj0/k;->a:Ljava/lang/reflect/Method;
invoke-virtual {v1}, Ljava/lang/reflect/Method;->getDeclaringClass()Ljava/lang/Class;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/Class;->getName()Ljava/lang/String;
move-result-object v1
const/4 v2, 0x0
aput-object v1, v0, v2
iget-object v1, p0, Lj0/k;->a:Ljava/lang/reflect/Method;
invoke-virtual {v1}, Ljava/lang/reflect/Method;->getName()Ljava/lang/String;
move-result-object v1
const/4 v2, 0x1
aput-object v1, v0, v2
iget-object v1, p0, Lj0/k;->b:Ljava/util/List;
const/4 v2, 0x2
aput-object v1, v0, v2
const-string v1, "%s.%s() %s"
invoke-static {v1, v0}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v0
return-object v0
.end method