apkfuckery/com.discord/smali/kotlin/jvm/internal/c.smali
2019-05-14 23:53:09 +02:00

316 lines
7 KiB
Smali

.class public abstract Lkotlin/jvm/internal/c;
.super Ljava/lang/Object;
.source "CallableReference.java"
# interfaces
.implements Ljava/io/Serializable;
.implements Lkotlin/reflect/KCallable;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lkotlin/jvm/internal/c$a;
}
.end annotation
# static fields
.field public static final NO_RECEIVER:Ljava/lang/Object;
# instance fields
.field protected final receiver:Ljava/lang/Object;
.field private transient reflected:Lkotlin/reflect/KCallable;
# direct methods
.method static constructor <clinit>()V
.locals 1
invoke-static {}, Lkotlin/jvm/internal/c$a;->zF()Lkotlin/jvm/internal/c$a;
move-result-object v0
sput-object v0, Lkotlin/jvm/internal/c;->NO_RECEIVER:Ljava/lang/Object;
return-void
.end method
.method public constructor <init>()V
.locals 1
sget-object v0, Lkotlin/jvm/internal/c;->NO_RECEIVER:Ljava/lang/Object;
invoke-direct {p0, v0}, Lkotlin/jvm/internal/c;-><init>(Ljava/lang/Object;)V
return-void
.end method
.method protected constructor <init>(Ljava/lang/Object;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lkotlin/jvm/internal/c;->receiver:Ljava/lang/Object;
return-void
.end method
# virtual methods
.method public varargs call([Ljava/lang/Object;)Ljava/lang/Object;
.locals 1
invoke-virtual {p0}, Lkotlin/jvm/internal/c;->getReflected()Lkotlin/reflect/KCallable;
move-result-object v0
invoke-interface {v0, p1}, Lkotlin/reflect/KCallable;->call([Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
return-object p1
.end method
.method public callBy(Ljava/util/Map;)Ljava/lang/Object;
.locals 1
invoke-virtual {p0}, Lkotlin/jvm/internal/c;->getReflected()Lkotlin/reflect/KCallable;
move-result-object v0
invoke-interface {v0, p1}, Lkotlin/reflect/KCallable;->callBy(Ljava/util/Map;)Ljava/lang/Object;
move-result-object p1
return-object p1
.end method
.method public compute()Lkotlin/reflect/KCallable;
.locals 1
iget-object v0, p0, Lkotlin/jvm/internal/c;->reflected:Lkotlin/reflect/KCallable;
if-nez v0, :cond_0
invoke-virtual {p0}, Lkotlin/jvm/internal/c;->computeReflected()Lkotlin/reflect/KCallable;
move-result-object v0
iput-object v0, p0, Lkotlin/jvm/internal/c;->reflected:Lkotlin/reflect/KCallable;
:cond_0
return-object v0
.end method
.method protected abstract computeReflected()Lkotlin/reflect/KCallable;
.end method
.method public getAnnotations()Ljava/util/List;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Ljava/lang/annotation/Annotation;",
">;"
}
.end annotation
invoke-virtual {p0}, Lkotlin/jvm/internal/c;->getReflected()Lkotlin/reflect/KCallable;
move-result-object v0
invoke-interface {v0}, Lkotlin/reflect/KCallable;->getAnnotations()Ljava/util/List;
move-result-object v0
return-object v0
.end method
.method public getBoundReceiver()Ljava/lang/Object;
.locals 1
iget-object v0, p0, Lkotlin/jvm/internal/c;->receiver:Ljava/lang/Object;
return-object v0
.end method
.method public getName()Ljava/lang/String;
.locals 1
new-instance v0, Ljava/lang/AbstractMethodError;
invoke-direct {v0}, Ljava/lang/AbstractMethodError;-><init>()V
throw v0
.end method
.method public getOwner()Lkotlin/reflect/KDeclarationContainer;
.locals 1
new-instance v0, Ljava/lang/AbstractMethodError;
invoke-direct {v0}, Ljava/lang/AbstractMethodError;-><init>()V
throw v0
.end method
.method public getParameters()Ljava/util/List;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Ljava/lang/Object;",
">;"
}
.end annotation
invoke-virtual {p0}, Lkotlin/jvm/internal/c;->getReflected()Lkotlin/reflect/KCallable;
move-result-object v0
invoke-interface {v0}, Lkotlin/reflect/KCallable;->getParameters()Ljava/util/List;
move-result-object v0
return-object v0
.end method
.method protected getReflected()Lkotlin/reflect/KCallable;
.locals 1
invoke-virtual {p0}, Lkotlin/jvm/internal/c;->compute()Lkotlin/reflect/KCallable;
move-result-object v0
if-eq v0, p0, :cond_0
return-object v0
:cond_0
new-instance v0, Lkotlin/jvm/b;
invoke-direct {v0}, Lkotlin/jvm/b;-><init>()V
throw v0
.end method
.method public getReturnType()Lkotlin/reflect/KType;
.locals 1
invoke-virtual {p0}, Lkotlin/jvm/internal/c;->getReflected()Lkotlin/reflect/KCallable;
move-result-object v0
invoke-interface {v0}, Lkotlin/reflect/KCallable;->getReturnType()Lkotlin/reflect/KType;
move-result-object v0
return-object v0
.end method
.method public getSignature()Ljava/lang/String;
.locals 1
new-instance v0, Ljava/lang/AbstractMethodError;
invoke-direct {v0}, Ljava/lang/AbstractMethodError;-><init>()V
throw v0
.end method
.method public getTypeParameters()Ljava/util/List;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Ljava/lang/Object;",
">;"
}
.end annotation
invoke-virtual {p0}, Lkotlin/jvm/internal/c;->getReflected()Lkotlin/reflect/KCallable;
move-result-object v0
invoke-interface {v0}, Lkotlin/reflect/KCallable;->getTypeParameters()Ljava/util/List;
move-result-object v0
return-object v0
.end method
.method public getVisibility()Lkotlin/reflect/KVisibility;
.locals 1
invoke-virtual {p0}, Lkotlin/jvm/internal/c;->getReflected()Lkotlin/reflect/KCallable;
move-result-object v0
invoke-interface {v0}, Lkotlin/reflect/KCallable;->getVisibility()Lkotlin/reflect/KVisibility;
move-result-object v0
return-object v0
.end method
.method public isAbstract()Z
.locals 1
invoke-virtual {p0}, Lkotlin/jvm/internal/c;->getReflected()Lkotlin/reflect/KCallable;
move-result-object v0
invoke-interface {v0}, Lkotlin/reflect/KCallable;->isAbstract()Z
move-result v0
return v0
.end method
.method public isFinal()Z
.locals 1
invoke-virtual {p0}, Lkotlin/jvm/internal/c;->getReflected()Lkotlin/reflect/KCallable;
move-result-object v0
invoke-interface {v0}, Lkotlin/reflect/KCallable;->isFinal()Z
move-result v0
return v0
.end method
.method public isOpen()Z
.locals 1
invoke-virtual {p0}, Lkotlin/jvm/internal/c;->getReflected()Lkotlin/reflect/KCallable;
move-result-object v0
invoke-interface {v0}, Lkotlin/reflect/KCallable;->isOpen()Z
move-result v0
return v0
.end method
.method public isSuspend()Z
.locals 1
invoke-virtual {p0}, Lkotlin/jvm/internal/c;->getReflected()Lkotlin/reflect/KCallable;
move-result-object v0
invoke-interface {v0}, Lkotlin/reflect/KCallable;->isSuspend()Z
move-result v0
return v0
.end method