393 lines
11 KiB
Smali
393 lines
11 KiB
Smali
.class public final Lkotlin/reflect/x;
|
|
.super Ljava/lang/Object;
|
|
.source "TypesJVM.kt"
|
|
|
|
# interfaces
|
|
.implements Ljava/lang/reflect/TypeVariable;
|
|
.implements Lkotlin/reflect/v;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/Object;",
|
|
"Ljava/lang/reflect/TypeVariable<",
|
|
"Ljava/lang/reflect/GenericDeclaration;",
|
|
">;",
|
|
"Lkotlin/reflect/v;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/SourceDebugExtension;
|
|
value = "SMAP\nTypesJVM.kt\nKotlin\n*S Kotlin\n*F\n+ 1 TypesJVM.kt\nkotlin/reflect/TypeVariableImpl\n+ 2 _Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n+ 3 ArraysJVM.kt\nkotlin/collections/ArraysKt__ArraysJVMKt\n*L\n1#1,229:1\n1547#2:230\n1618#2,3:231\n37#3,2:234\n*S KotlinDebug\n*F\n+ 1 TypesJVM.kt\nkotlin/reflect/TypeVariableImpl\n*L\n116#1:230\n116#1:231,3\n116#1:234,2\n*E\n"
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/ExperimentalStdlibApi;
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/Metadata;
|
|
bv = {}
|
|
d1 = {
|
|
"\u0000N\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u000e\n\u0002\u0008\u0002\n\u0002\u0010\u0011\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0008\n\u0002\u0008\u0002\n\u0002\u0010\u001b\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0007\n\u0002\u0018\u0002\n\u0002\u0008\u0006\u0008\u0003\u0018\u00002\u0008\u0012\u0004\u0012\u00020\u00020\u00012\u00020\u0003B\u000f\u0012\u0006\u0010 \u001a\u00020\u001d\u00a2\u0006\u0004\u0008!\u0010\"J\u0008\u0010\u0005\u001a\u00020\u0004H\u0016J\u0008\u0010\u0006\u001a\u00020\u0002H\u0016J\u0015\u0010\t\u001a\u0008\u0012\u0004\u0012\u00020\u00080\u0007H\u0016\u00a2\u0006\u0004\u0008\t\u0010\nJ\u0008\u0010\u000b\u001a\u00020\u0004H\u0016J\u0013\u0010\u000f\u001a\u00020\u000e2\u0008\u0010\r\u001a\u0004\u0018\u00010\u000cH\u0096\u0002J\u0008\u0010\u0011\u001a\u00020\u0010H\u0016J\u0008\u0010\u0012\u001a\u00020\u0004H\u0016J\'\u0010\u0017\u001a\u0004\u0018\u00018\u0000\"\u0008\u0008\u0000\u0010\u0014*\u00020\u00132\u000c\u0010\u0016\u001a\u0008\u0012\u0004\u0012\u00028\u00000\u0015\u00a2\u0006\u0004\u0008\u0017\u0010\u0018J\u0013\u0010\u0019\u001a\u0008\u0012\u0004\u0012\u00020\u00130\u0007\u00a2\u0006\u0004\u0008\u0019\u0010\u001aJ\u0013\u0010\u001b\u001a\u0008\u0012\u0004\u0012\u00020\u00130\u0007\u00a2\u0006\u0004\u0008\u001b\u0010\u001aJ\u0013\u0010\u001c\u001a\u0008\u0012\u0004\u0012\u00020\u00130\u0007\u00a2\u0006\u0004\u0008\u001c\u0010\u001aR\u0014\u0010 \u001a\u00020\u001d8\u0002X\u0082\u0004\u00a2\u0006\u0006\n\u0004\u0008\u001e\u0010\u001f\u00a8\u0006#"
|
|
}
|
|
d2 = {
|
|
"Lkotlin/reflect/x;",
|
|
"Ljava/lang/reflect/TypeVariable;",
|
|
"Ljava/lang/reflect/GenericDeclaration;",
|
|
"Lkotlin/reflect/v;",
|
|
"",
|
|
"getName",
|
|
"getGenericDeclaration",
|
|
"",
|
|
"Ljava/lang/reflect/Type;",
|
|
"getBounds",
|
|
"()[Ljava/lang/reflect/Type;",
|
|
"getTypeName",
|
|
"",
|
|
"other",
|
|
"",
|
|
"equals",
|
|
"",
|
|
"hashCode",
|
|
"toString",
|
|
"",
|
|
"T",
|
|
"Ljava/lang/Class;",
|
|
"annotationClass",
|
|
"e0",
|
|
"(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;",
|
|
"f0",
|
|
"()[Ljava/lang/annotation/Annotation;",
|
|
"g0",
|
|
"d0",
|
|
"Lkotlin/reflect/s;",
|
|
"a",
|
|
"Lkotlin/reflect/s;",
|
|
"typeParameter",
|
|
"<init>",
|
|
"(Lkotlin/reflect/s;)V",
|
|
"kotlin-stdlib"
|
|
}
|
|
k = 0x1
|
|
mv = {
|
|
0x1,
|
|
0x5,
|
|
0x1
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Lkotlin/reflect/s;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lkotlin/reflect/s;)V
|
|
.locals 1
|
|
.param p1 # Lkotlin/reflect/s;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
const-string v0, "typeParameter"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lkotlin/reflect/x;->a:Lkotlin/reflect/s;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final d0()[Ljava/lang/annotation/Annotation;
|
|
.locals 1
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
new-array v0, v0, [Ljava/lang/annotation/Annotation;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final e0(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
|
|
.locals 1
|
|
.param p1 # Ljava/lang/Class;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T::",
|
|
"Ljava/lang/annotation/Annotation;",
|
|
">(",
|
|
"Ljava/lang/Class<",
|
|
"TT;>;)TT;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
|
|
const-string v0, "annotationClass"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
.locals 2
|
|
.param p1 # Ljava/lang/Object;
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
instance-of v0, p1, Ljava/lang/reflect/TypeVariable;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-virtual {p0}, Lkotlin/reflect/x;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast p1, Ljava/lang/reflect/TypeVariable;
|
|
|
|
invoke-interface {p1}, Ljava/lang/reflect/TypeVariable;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/f0;->g(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-virtual {p0}, Lkotlin/reflect/x;->getGenericDeclaration()Ljava/lang/reflect/GenericDeclaration;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {p1}, Ljava/lang/reflect/TypeVariable;->getGenericDeclaration()Ljava/lang/reflect/GenericDeclaration;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {v0, p1}, Lkotlin/jvm/internal/f0;->g(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const/4 p1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
:goto_0
|
|
return p1
|
|
.end method
|
|
|
|
.method public final f0()[Ljava/lang/annotation/Annotation;
|
|
.locals 1
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
new-array v0, v0, [Ljava/lang/annotation/Annotation;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final g0()[Ljava/lang/annotation/Annotation;
|
|
.locals 1
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
new-array v0, v0, [Ljava/lang/annotation/Annotation;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getBounds()[Ljava/lang/reflect/Type;
|
|
.locals 4
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lkotlin/reflect/x;->a:Lkotlin/reflect/s;
|
|
|
|
invoke-interface {v0}, Lkotlin/reflect/s;->getUpperBounds()Ljava/util/List;
|
|
|
|
move-result-object v0
|
|
|
|
.line 2
|
|
new-instance v1, Ljava/util/ArrayList;
|
|
|
|
const/16 v2, 0xa
|
|
|
|
invoke-static {v0, v2}, Lkotlin/collections/x;->Y(Ljava/lang/Iterable;I)I
|
|
|
|
move-result v2
|
|
|
|
invoke-direct {v1, v2}, Ljava/util/ArrayList;-><init>(I)V
|
|
|
|
.line 3
|
|
invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v0
|
|
|
|
:goto_0
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
.line 4
|
|
check-cast v2, Lkotlin/reflect/r;
|
|
|
|
const/4 v3, 0x1
|
|
|
|
.line 5
|
|
invoke-static {v2, v3}, Lkotlin/reflect/TypesJVMKt;->a(Lkotlin/reflect/r;Z)Ljava/lang/reflect/Type;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-interface {v1, v2}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
new-array v0, v0, [Ljava/lang/reflect/Type;
|
|
|
|
.line 6
|
|
invoke-interface {v1, v0}, Ljava/util/Collection;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "null cannot be cast to non-null type kotlin.Array<T>"
|
|
|
|
invoke-static {v0, v1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
check-cast v0, [Ljava/lang/reflect/Type;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getGenericDeclaration()Ljava/lang/reflect/GenericDeclaration;
|
|
.locals 3
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const-string v0, "getGenericDeclaration() is not yet supported for type variables created from KType: "
|
|
|
|
.line 1
|
|
invoke-static {v0}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lkotlin/reflect/x;->a:Lkotlin/reflect/s;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
new-instance v1, Lkotlin/NotImplementedError;
|
|
|
|
const-string v2, "An operation is not implemented: "
|
|
|
|
invoke-static {v2, v0}, Lc/g;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {v1, v0}, Lkotlin/NotImplementedError;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v1
|
|
.end method
|
|
|
|
.method public getName()Ljava/lang/String;
|
|
.locals 1
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lkotlin/reflect/x;->a:Lkotlin/reflect/s;
|
|
|
|
invoke-interface {v0}, Lkotlin/reflect/s;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getTypeName()Ljava/lang/String;
|
|
.locals 1
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lkotlin/reflect/x;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public hashCode()I
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lkotlin/reflect/x;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p0}, Lkotlin/reflect/x;->getGenericDeclaration()Ljava/lang/reflect/GenericDeclaration;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Object;->hashCode()I
|
|
|
|
move-result v1
|
|
|
|
xor-int/2addr v0, v1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 1
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lkotlin/reflect/x;->getTypeName()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|