ADD week 5
This commit is contained in:
45
02-Easy5/E5/sources/kotlin/reflect/GenericArrayTypeImpl.java
Normal file
45
02-Easy5/E5/sources/kotlin/reflect/GenericArrayTypeImpl.java
Normal file
@ -0,0 +1,45 @@
|
||||
package kotlin.reflect;
|
||||
|
||||
import java.lang.reflect.GenericArrayType;
|
||||
import java.lang.reflect.Type;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* compiled from: TypesJVM.kt */
|
||||
@Metadata(d1 = {"\u00002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\b\u0003\u0018\u00002\u00020\u00012\u00020\u0002B\r\u0012\u0006\u0010\u0003\u001a\u00020\u0004¢\u0006\u0002\u0010\u0005J\u0013\u0010\u0006\u001a\u00020\u00072\b\u0010\b\u001a\u0004\u0018\u00010\tH\u0096\u0002J\b\u0010\n\u001a\u00020\u0004H\u0016J\b\u0010\u000b\u001a\u00020\fH\u0016J\b\u0010\r\u001a\u00020\u000eH\u0016J\b\u0010\u000f\u001a\u00020\fH\u0016R\u000e\u0010\u0003\u001a\u00020\u0004X\u0082\u0004¢\u0006\u0002\n\u0000¨\u0006\u0010"}, d2 = {"Lkotlin/reflect/GenericArrayTypeImpl;", "Ljava/lang/reflect/GenericArrayType;", "Lkotlin/reflect/TypeImpl;", "elementType", "Ljava/lang/reflect/Type;", "(Ljava/lang/reflect/Type;)V", "equals", "", "other", "", "getGenericComponentType", "getTypeName", "", "hashCode", "", "toString", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
final class GenericArrayTypeImpl implements GenericArrayType, TypeImpl {
|
||||
private final Type elementType;
|
||||
|
||||
@Override // java.lang.reflect.GenericArrayType
|
||||
public Type getGenericComponentType() {
|
||||
return this.elementType;
|
||||
}
|
||||
|
||||
public GenericArrayTypeImpl(Type elementType) {
|
||||
Intrinsics.checkNotNullParameter(elementType, "elementType");
|
||||
this.elementType = elementType;
|
||||
}
|
||||
|
||||
@Override // java.lang.reflect.Type, kotlin.reflect.TypeImpl
|
||||
public String getTypeName() {
|
||||
String typeToString;
|
||||
StringBuilder sb = new StringBuilder();
|
||||
typeToString = TypesJVMKt.typeToString(this.elementType);
|
||||
sb.append(typeToString);
|
||||
sb.append("[]");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
return (other instanceof GenericArrayType) && Intrinsics.areEqual(getGenericComponentType(), ((GenericArrayType) other).getGenericComponentType());
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return getGenericComponentType().hashCode();
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return getTypeName();
|
||||
}
|
||||
}
|
12
02-Easy5/E5/sources/kotlin/reflect/KAnnotatedElement.java
Normal file
12
02-Easy5/E5/sources/kotlin/reflect/KAnnotatedElement.java
Normal file
@ -0,0 +1,12 @@
|
||||
package kotlin.reflect;
|
||||
|
||||
import java.lang.annotation.Annotation;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: KAnnotatedElement.kt */
|
||||
@Metadata(d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010 \n\u0002\u0010\u001b\n\u0002\b\u0003\bf\u0018\u00002\u00020\u0001R\u0018\u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00040\u0003X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0007"}, d2 = {"Lkotlin/reflect/KAnnotatedElement;", "", "annotations", "", "", "getAnnotations", "()Ljava/util/List;", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface KAnnotatedElement {
|
||||
List<Annotation> getAnnotations();
|
||||
}
|
59
02-Easy5/E5/sources/kotlin/reflect/KCallable.java
Normal file
59
02-Easy5/E5/sources/kotlin/reflect/KCallable.java
Normal file
@ -0,0 +1,59 @@
|
||||
package kotlin.reflect;
|
||||
|
||||
import androidx.core.app.NotificationCompat;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: KCallable.kt */
|
||||
@Metadata(d1 = {"\u0000T\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\n\n\u0002\u0010\u000e\n\u0002\b\u0004\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\u0011\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010$\n\u0002\b\u0002\bf\u0018\u0000*\u0006\b\u0000\u0010\u0001 \u00012\u00020\u0002J%\u0010%\u001a\u00028\u00002\u0016\u0010&\u001a\f\u0012\b\b\u0001\u0012\u0004\u0018\u00010(0'\"\u0004\u0018\u00010(H&¢\u0006\u0002\u0010)J#\u0010*\u001a\u00028\u00002\u0014\u0010&\u001a\u0010\u0012\u0004\u0012\u00020\u0015\u0012\u0006\u0012\u0004\u0018\u00010(0+H&¢\u0006\u0002\u0010,R\u001a\u0010\u0003\u001a\u00020\u00048&X§\u0004¢\u0006\f\u0012\u0004\b\u0005\u0010\u0006\u001a\u0004\b\u0003\u0010\u0007R\u001a\u0010\b\u001a\u00020\u00048&X§\u0004¢\u0006\f\u0012\u0004\b\t\u0010\u0006\u001a\u0004\b\b\u0010\u0007R\u001a\u0010\n\u001a\u00020\u00048&X§\u0004¢\u0006\f\u0012\u0004\b\u000b\u0010\u0006\u001a\u0004\b\n\u0010\u0007R\u001a\u0010\f\u001a\u00020\u00048&X§\u0004¢\u0006\f\u0012\u0004\b\r\u0010\u0006\u001a\u0004\b\f\u0010\u0007R\u001a\u0010\u000e\u001a\u00020\u000f8&X§\u0004¢\u0006\f\u0012\u0004\b\u0010\u0010\u0006\u001a\u0004\b\u0011\u0010\u0012R\u0018\u0010\u0013\u001a\b\u0012\u0004\u0012\u00020\u00150\u0014X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0016\u0010\u0017R\u0012\u0010\u0018\u001a\u00020\u0019X¦\u0004¢\u0006\u0006\u001a\u0004\b\u001a\u0010\u001bR \u0010\u001c\u001a\b\u0012\u0004\u0012\u00020\u001d0\u00148&X§\u0004¢\u0006\f\u0012\u0004\b\u001e\u0010\u0006\u001a\u0004\b\u001f\u0010\u0017R\u001c\u0010 \u001a\u0004\u0018\u00010!8&X§\u0004¢\u0006\f\u0012\u0004\b\"\u0010\u0006\u001a\u0004\b#\u0010$¨\u0006-"}, d2 = {"Lkotlin/reflect/KCallable;", "R", "Lkotlin/reflect/KAnnotatedElement;", "isAbstract", "", "isAbstract$annotations", "()V", "()Z", "isFinal", "isFinal$annotations", "isOpen", "isOpen$annotations", "isSuspend", "isSuspend$annotations", "name", "", "getName$annotations", "getName", "()Ljava/lang/String;", "parameters", "", "Lkotlin/reflect/KParameter;", "getParameters", "()Ljava/util/List;", "returnType", "Lkotlin/reflect/KType;", "getReturnType", "()Lkotlin/reflect/KType;", "typeParameters", "Lkotlin/reflect/KTypeParameter;", "getTypeParameters$annotations", "getTypeParameters", "visibility", "Lkotlin/reflect/KVisibility;", "getVisibility$annotations", "getVisibility", "()Lkotlin/reflect/KVisibility;", NotificationCompat.CATEGORY_CALL, "args", "", "", "([Ljava/lang/Object;)Ljava/lang/Object;", "callBy", "", "(Ljava/util/Map;)Ljava/lang/Object;", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface KCallable<R> extends KAnnotatedElement {
|
||||
|
||||
/* compiled from: KCallable.kt */
|
||||
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
|
||||
public static final class DefaultImpls {
|
||||
public static /* synthetic */ void getName$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void getTypeParameters$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void getVisibility$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void isAbstract$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void isFinal$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void isOpen$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void isSuspend$annotations() {
|
||||
}
|
||||
}
|
||||
|
||||
R call(Object... args);
|
||||
|
||||
R callBy(Map<KParameter, ? extends Object> args);
|
||||
|
||||
String getName();
|
||||
|
||||
List<KParameter> getParameters();
|
||||
|
||||
KType getReturnType();
|
||||
|
||||
List<KTypeParameter> getTypeParameters();
|
||||
|
||||
KVisibility getVisibility();
|
||||
|
||||
boolean isAbstract();
|
||||
|
||||
boolean isFinal();
|
||||
|
||||
boolean isOpen();
|
||||
|
||||
boolean isSuspend();
|
||||
}
|
99
02-Easy5/E5/sources/kotlin/reflect/KClass.java
Normal file
99
02-Easy5/E5/sources/kotlin/reflect/KClass.java
Normal file
@ -0,0 +1,99 @@
|
||||
package kotlin.reflect;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: KClass.kt */
|
||||
@Metadata(d1 = {"\u0000d\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u001e\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\u0014\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0010 \n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0010\b\n\u0002\b\u0003\bf\u0018\u0000*\b\b\u0000\u0010\u0001*\u00020\u00022\u00020\u00032\u00020\u00042\u00020\u0005J\u0013\u0010@\u001a\u00020\f2\b\u0010A\u001a\u0004\u0018\u00010\u0002H¦\u0002J\b\u0010B\u001a\u00020CH&J\u0012\u0010D\u001a\u00020\f2\b\u0010E\u001a\u0004\u0018\u00010\u0002H'R\u001e\u0010\u0006\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00028\u00000\b0\u0007X¦\u0004¢\u0006\u0006\u001a\u0004\b\t\u0010\nR\u001a\u0010\u000b\u001a\u00020\f8&X§\u0004¢\u0006\f\u0012\u0004\b\r\u0010\u000e\u001a\u0004\b\u000b\u0010\u000fR\u001a\u0010\u0010\u001a\u00020\f8&X§\u0004¢\u0006\f\u0012\u0004\b\u0011\u0010\u000e\u001a\u0004\b\u0010\u0010\u000fR\u001a\u0010\u0012\u001a\u00020\f8&X§\u0004¢\u0006\f\u0012\u0004\b\u0013\u0010\u000e\u001a\u0004\b\u0012\u0010\u000fR\u001a\u0010\u0014\u001a\u00020\f8&X§\u0004¢\u0006\f\u0012\u0004\b\u0015\u0010\u000e\u001a\u0004\b\u0014\u0010\u000fR\u001a\u0010\u0016\u001a\u00020\f8&X§\u0004¢\u0006\f\u0012\u0004\b\u0017\u0010\u000e\u001a\u0004\b\u0016\u0010\u000fR\u001a\u0010\u0018\u001a\u00020\f8&X§\u0004¢\u0006\f\u0012\u0004\b\u0019\u0010\u000e\u001a\u0004\b\u0018\u0010\u000fR\u001a\u0010\u001a\u001a\u00020\f8&X§\u0004¢\u0006\f\u0012\u0004\b\u001b\u0010\u000e\u001a\u0004\b\u001a\u0010\u000fR\u001a\u0010\u001c\u001a\u00020\f8&X§\u0004¢\u0006\f\u0012\u0004\b\u001d\u0010\u000e\u001a\u0004\b\u001c\u0010\u000fR\u001a\u0010\u001e\u001a\u00020\f8&X§\u0004¢\u0006\f\u0012\u0004\b\u001f\u0010\u000e\u001a\u0004\b\u001e\u0010\u000fR\u001c\u0010 \u001a\f\u0012\b\u0012\u0006\u0012\u0002\b\u00030!0\u0007X¦\u0004¢\u0006\u0006\u001a\u0004\b\"\u0010\nR\u001c\u0010#\u001a\f\u0012\b\u0012\u0006\u0012\u0002\b\u00030\u00000\u0007X¦\u0004¢\u0006\u0006\u001a\u0004\b$\u0010\nR\u0014\u0010%\u001a\u0004\u0018\u00018\u0000X¦\u0004¢\u0006\u0006\u001a\u0004\b&\u0010'R\u0014\u0010(\u001a\u0004\u0018\u00010)X¦\u0004¢\u0006\u0006\u001a\u0004\b*\u0010+R(\u0010,\u001a\u0010\u0012\f\u0012\n\u0012\u0006\b\u0001\u0012\u00028\u00000\u00000-8&X§\u0004¢\u0006\f\u0012\u0004\b.\u0010\u000e\u001a\u0004\b/\u00100R\u0014\u00101\u001a\u0004\u0018\u00010)X¦\u0004¢\u0006\u0006\u001a\u0004\b2\u0010+R \u00103\u001a\b\u0012\u0004\u0012\u0002040-8&X§\u0004¢\u0006\f\u0012\u0004\b5\u0010\u000e\u001a\u0004\b6\u00100R \u00107\u001a\b\u0012\u0004\u0012\u0002080-8&X§\u0004¢\u0006\f\u0012\u0004\b9\u0010\u000e\u001a\u0004\b:\u00100R\u001c\u0010;\u001a\u0004\u0018\u00010<8&X§\u0004¢\u0006\f\u0012\u0004\b=\u0010\u000e\u001a\u0004\b>\u0010?¨\u0006F"}, d2 = {"Lkotlin/reflect/KClass;", "T", "", "Lkotlin/reflect/KDeclarationContainer;", "Lkotlin/reflect/KAnnotatedElement;", "Lkotlin/reflect/KClassifier;", "constructors", "", "Lkotlin/reflect/KFunction;", "getConstructors", "()Ljava/util/Collection;", "isAbstract", "", "isAbstract$annotations", "()V", "()Z", "isCompanion", "isCompanion$annotations", "isData", "isData$annotations", "isFinal", "isFinal$annotations", "isFun", "isFun$annotations", "isInner", "isInner$annotations", "isOpen", "isOpen$annotations", "isSealed", "isSealed$annotations", "isValue", "isValue$annotations", "members", "Lkotlin/reflect/KCallable;", "getMembers", "nestedClasses", "getNestedClasses", "objectInstance", "getObjectInstance", "()Ljava/lang/Object;", "qualifiedName", "", "getQualifiedName", "()Ljava/lang/String;", "sealedSubclasses", "", "getSealedSubclasses$annotations", "getSealedSubclasses", "()Ljava/util/List;", "simpleName", "getSimpleName", "supertypes", "Lkotlin/reflect/KType;", "getSupertypes$annotations", "getSupertypes", "typeParameters", "Lkotlin/reflect/KTypeParameter;", "getTypeParameters$annotations", "getTypeParameters", "visibility", "Lkotlin/reflect/KVisibility;", "getVisibility$annotations", "getVisibility", "()Lkotlin/reflect/KVisibility;", "equals", "other", "hashCode", "", "isInstance", "value", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface KClass<T> extends KDeclarationContainer, KAnnotatedElement, KClassifier {
|
||||
|
||||
/* compiled from: KClass.kt */
|
||||
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
|
||||
public static final class DefaultImpls {
|
||||
public static /* synthetic */ void getSealedSubclasses$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void getSupertypes$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void getTypeParameters$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void getVisibility$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void isAbstract$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void isCompanion$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void isData$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void isFinal$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void isFun$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void isInner$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void isOpen$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void isSealed$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void isValue$annotations() {
|
||||
}
|
||||
}
|
||||
|
||||
boolean equals(Object other);
|
||||
|
||||
Collection<KFunction<T>> getConstructors();
|
||||
|
||||
@Override // kotlin.reflect.KDeclarationContainer
|
||||
Collection<KCallable<?>> getMembers();
|
||||
|
||||
Collection<KClass<?>> getNestedClasses();
|
||||
|
||||
T getObjectInstance();
|
||||
|
||||
String getQualifiedName();
|
||||
|
||||
List<KClass<? extends T>> getSealedSubclasses();
|
||||
|
||||
String getSimpleName();
|
||||
|
||||
List<KType> getSupertypes();
|
||||
|
||||
List<KTypeParameter> getTypeParameters();
|
||||
|
||||
KVisibility getVisibility();
|
||||
|
||||
int hashCode();
|
||||
|
||||
boolean isAbstract();
|
||||
|
||||
boolean isCompanion();
|
||||
|
||||
boolean isData();
|
||||
|
||||
boolean isFinal();
|
||||
|
||||
boolean isFun();
|
||||
|
||||
boolean isInner();
|
||||
|
||||
boolean isInstance(Object value);
|
||||
|
||||
boolean isOpen();
|
||||
|
||||
boolean isSealed();
|
||||
|
||||
boolean isValue();
|
||||
}
|
29
02-Easy5/E5/sources/kotlin/reflect/KClasses.java
Normal file
29
02-Easy5/E5/sources/kotlin/reflect/KClasses.java
Normal file
@ -0,0 +1,29 @@
|
||||
package kotlin.reflect;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* compiled from: KClasses.kt */
|
||||
@Metadata(d1 = {"\u0000\u0010\n\u0002\b\u0002\n\u0002\u0010\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\u001a+\u0010\u0000\u001a\u0002H\u0001\"\b\b\u0000\u0010\u0001*\u00020\u0002*\b\u0012\u0004\u0012\u0002H\u00010\u00032\b\u0010\u0004\u001a\u0004\u0018\u00010\u0002H\u0007¢\u0006\u0002\u0010\u0005\u001a-\u0010\u0006\u001a\u0004\u0018\u0001H\u0001\"\b\b\u0000\u0010\u0001*\u00020\u0002*\b\u0012\u0004\u0012\u0002H\u00010\u00032\b\u0010\u0004\u001a\u0004\u0018\u00010\u0002H\u0007¢\u0006\u0002\u0010\u0005¨\u0006\u0007"}, d2 = {"cast", "T", "", "Lkotlin/reflect/KClass;", "value", "(Lkotlin/reflect/KClass;Ljava/lang/Object;)Ljava/lang/Object;", "safeCast", "kotlin-stdlib"}, k = 2, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class KClasses {
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
public static final <T> T cast(KClass<T> kClass, Object obj) {
|
||||
Intrinsics.checkNotNullParameter(kClass, "<this>");
|
||||
if (!kClass.isInstance(obj)) {
|
||||
throw new ClassCastException("Value cannot be cast to " + kClass.getQualifiedName());
|
||||
}
|
||||
Intrinsics.checkNotNull(obj, "null cannot be cast to non-null type T of kotlin.reflect.KClasses.cast");
|
||||
return obj;
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
public static final <T> T safeCast(KClass<T> kClass, Object obj) {
|
||||
Intrinsics.checkNotNullParameter(kClass, "<this>");
|
||||
if (!kClass.isInstance(obj)) {
|
||||
return null;
|
||||
}
|
||||
Intrinsics.checkNotNull(obj, "null cannot be cast to non-null type T of kotlin.reflect.KClasses.safeCast");
|
||||
return obj;
|
||||
}
|
||||
}
|
14
02-Easy5/E5/sources/kotlin/reflect/KClassesImplKt.java
Normal file
14
02-Easy5/E5/sources/kotlin/reflect/KClassesImplKt.java
Normal file
@ -0,0 +1,14 @@
|
||||
package kotlin.reflect;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* compiled from: KClassesImpl.kt */
|
||||
@Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0010\u000e\n\u0002\u0018\u0002\n\u0002\b\u0003\"\u001f\u0010\u0000\u001a\u0004\u0018\u00010\u0001*\u0006\u0012\u0002\b\u00030\u00028À\u0002X\u0080\u0004¢\u0006\u0006\u001a\u0004\b\u0003\u0010\u0004¨\u0006\u0005"}, d2 = {"qualifiedOrSimpleName", "", "Lkotlin/reflect/KClass;", "getQualifiedOrSimpleName", "(Lkotlin/reflect/KClass;)Ljava/lang/String;", "kotlin-stdlib"}, k = 2, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class KClassesImplKt {
|
||||
public static final String getQualifiedOrSimpleName(KClass<?> kClass) {
|
||||
Intrinsics.checkNotNullParameter(kClass, "<this>");
|
||||
return kClass.getQualifiedName();
|
||||
}
|
||||
}
|
9
02-Easy5/E5/sources/kotlin/reflect/KClassifier.java
Normal file
9
02-Easy5/E5/sources/kotlin/reflect/KClassifier.java
Normal file
@ -0,0 +1,9 @@
|
||||
package kotlin.reflect;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: KClassifier.kt */
|
||||
@Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\bg\u0018\u00002\u00020\u0001¨\u0006\u0002"}, d2 = {"Lkotlin/reflect/KClassifier;", "", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface KClassifier {
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
package kotlin.reflect;
|
||||
|
||||
import java.util.Collection;
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: KDeclarationContainer.kt */
|
||||
@Metadata(d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u001e\n\u0002\u0018\u0002\n\u0002\b\u0003\bf\u0018\u00002\u00020\u0001R\u001c\u0010\u0002\u001a\f\u0012\b\u0012\u0006\u0012\u0002\b\u00030\u00040\u0003X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0007"}, d2 = {"Lkotlin/reflect/KDeclarationContainer;", "", "members", "", "Lkotlin/reflect/KCallable;", "getMembers", "()Ljava/util/Collection;", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface KDeclarationContainer {
|
||||
Collection<KCallable<?>> getMembers();
|
||||
}
|
40
02-Easy5/E5/sources/kotlin/reflect/KFunction.java
Normal file
40
02-Easy5/E5/sources/kotlin/reflect/KFunction.java
Normal file
@ -0,0 +1,40 @@
|
||||
package kotlin.reflect;
|
||||
|
||||
import kotlin.Function;
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: KFunction.kt */
|
||||
@Metadata(d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\f\bf\u0018\u0000*\u0006\b\u0000\u0010\u0001 \u00012\b\u0012\u0004\u0012\u0002H\u00010\u00022\b\u0012\u0004\u0012\u0002H\u00010\u0003R\u001a\u0010\u0004\u001a\u00020\u00058&X§\u0004¢\u0006\f\u0012\u0004\b\u0006\u0010\u0007\u001a\u0004\b\u0004\u0010\bR\u001a\u0010\t\u001a\u00020\u00058&X§\u0004¢\u0006\f\u0012\u0004\b\n\u0010\u0007\u001a\u0004\b\t\u0010\bR\u001a\u0010\u000b\u001a\u00020\u00058&X§\u0004¢\u0006\f\u0012\u0004\b\f\u0010\u0007\u001a\u0004\b\u000b\u0010\bR\u001a\u0010\r\u001a\u00020\u00058&X§\u0004¢\u0006\f\u0012\u0004\b\u000e\u0010\u0007\u001a\u0004\b\r\u0010\bR\u001a\u0010\u000f\u001a\u00020\u00058&X§\u0004¢\u0006\f\u0012\u0004\b\u0010\u0010\u0007\u001a\u0004\b\u000f\u0010\b¨\u0006\u0011"}, d2 = {"Lkotlin/reflect/KFunction;", "R", "Lkotlin/reflect/KCallable;", "Lkotlin/Function;", "isExternal", "", "isExternal$annotations", "()V", "()Z", "isInfix", "isInfix$annotations", "isInline", "isInline$annotations", "isOperator", "isOperator$annotations", "isSuspend", "isSuspend$annotations", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface KFunction<R> extends KCallable<R>, Function<R> {
|
||||
|
||||
/* compiled from: KFunction.kt */
|
||||
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
|
||||
public static final class DefaultImpls {
|
||||
public static /* synthetic */ void isExternal$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void isInfix$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void isInline$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void isOperator$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void isSuspend$annotations() {
|
||||
}
|
||||
}
|
||||
|
||||
boolean isExternal();
|
||||
|
||||
boolean isInfix();
|
||||
|
||||
boolean isInline();
|
||||
|
||||
boolean isOperator();
|
||||
|
||||
@Override // kotlin.reflect.KCallable
|
||||
boolean isSuspend();
|
||||
}
|
18
02-Easy5/E5/sources/kotlin/reflect/KMutableProperty.java
Normal file
18
02-Easy5/E5/sources/kotlin/reflect/KMutableProperty.java
Normal file
@ -0,0 +1,18 @@
|
||||
package kotlin.reflect;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.Unit;
|
||||
import kotlin.reflect.KProperty;
|
||||
|
||||
/* compiled from: KProperty.kt */
|
||||
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\bf\u0018\u0000*\u0004\b\u0000\u0010\u00012\b\u0012\u0004\u0012\u0002H\u00010\u0002:\u0001\u0007R\u0018\u0010\u0003\u001a\b\u0012\u0004\u0012\u00028\u00000\u0004X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0005\u0010\u0006¨\u0006\b"}, d2 = {"Lkotlin/reflect/KMutableProperty;", "V", "Lkotlin/reflect/KProperty;", "setter", "Lkotlin/reflect/KMutableProperty$Setter;", "getSetter", "()Lkotlin/reflect/KMutableProperty$Setter;", "Setter", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface KMutableProperty<V> extends KProperty<V> {
|
||||
|
||||
/* compiled from: KProperty.kt */
|
||||
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0000\bf\u0018\u0000*\u0004\b\u0001\u0010\u00012\b\u0012\u0004\u0012\u0002H\u00010\u00022\b\u0012\u0004\u0012\u00020\u00040\u0003¨\u0006\u0005"}, d2 = {"Lkotlin/reflect/KMutableProperty$Setter;", "V", "Lkotlin/reflect/KProperty$Accessor;", "Lkotlin/reflect/KFunction;", "", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
public interface Setter<V> extends KProperty.Accessor<V>, KFunction<Unit> {
|
||||
}
|
||||
|
||||
Setter<V> getSetter();
|
||||
}
|
22
02-Easy5/E5/sources/kotlin/reflect/KMutableProperty0.java
Normal file
22
02-Easy5/E5/sources/kotlin/reflect/KMutableProperty0.java
Normal file
@ -0,0 +1,22 @@
|
||||
package kotlin.reflect;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
import kotlin.reflect.KMutableProperty;
|
||||
|
||||
/* compiled from: KProperty.kt */
|
||||
@Metadata(d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0002\b\u0004\bf\u0018\u0000*\u0004\b\u0000\u0010\u00012\b\u0012\u0004\u0012\u0002H\u00010\u00022\b\u0012\u0004\u0012\u0002H\u00010\u0003:\u0001\fJ\u0015\u0010\b\u001a\u00020\t2\u0006\u0010\n\u001a\u00028\u0000H&¢\u0006\u0002\u0010\u000bR\u0018\u0010\u0004\u001a\b\u0012\u0004\u0012\u00028\u00000\u0005X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0006\u0010\u0007¨\u0006\r"}, d2 = {"Lkotlin/reflect/KMutableProperty0;", "V", "Lkotlin/reflect/KProperty0;", "Lkotlin/reflect/KMutableProperty;", "setter", "Lkotlin/reflect/KMutableProperty0$Setter;", "getSetter", "()Lkotlin/reflect/KMutableProperty0$Setter;", "set", "", "value", "(Ljava/lang/Object;)V", "Setter", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface KMutableProperty0<V> extends KProperty0<V>, KMutableProperty<V> {
|
||||
|
||||
/* compiled from: KProperty.kt */
|
||||
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0000\bf\u0018\u0000*\u0004\b\u0001\u0010\u00012\b\u0012\u0004\u0012\u0002H\u00010\u00022\u000e\u0012\u0004\u0012\u0002H\u0001\u0012\u0004\u0012\u00020\u00040\u0003¨\u0006\u0005"}, d2 = {"Lkotlin/reflect/KMutableProperty0$Setter;", "V", "Lkotlin/reflect/KMutableProperty$Setter;", "Lkotlin/Function1;", "", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
public interface Setter<V> extends KMutableProperty.Setter<V>, Function1<V, Unit> {
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KMutableProperty
|
||||
Setter<V> getSetter();
|
||||
|
||||
void set(V value);
|
||||
}
|
22
02-Easy5/E5/sources/kotlin/reflect/KMutableProperty1.java
Normal file
22
02-Easy5/E5/sources/kotlin/reflect/KMutableProperty1.java
Normal file
@ -0,0 +1,22 @@
|
||||
package kotlin.reflect;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function2;
|
||||
import kotlin.reflect.KMutableProperty;
|
||||
|
||||
/* compiled from: KProperty.kt */
|
||||
@Metadata(d1 = {"\u0000\"\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0002\b\u0005\bf\u0018\u0000*\u0004\b\u0000\u0010\u0001*\u0004\b\u0001\u0010\u00022\u000e\u0012\u0004\u0012\u0002H\u0001\u0012\u0004\u0012\u0002H\u00020\u00032\b\u0012\u0004\u0012\u0002H\u00020\u0004:\u0001\u000eJ\u001d\u0010\t\u001a\u00020\n2\u0006\u0010\u000b\u001a\u00028\u00002\u0006\u0010\f\u001a\u00028\u0001H&¢\u0006\u0002\u0010\rR\u001e\u0010\u0005\u001a\u000e\u0012\u0004\u0012\u00028\u0000\u0012\u0004\u0012\u00028\u00010\u0006X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0007\u0010\b¨\u0006\u000f"}, d2 = {"Lkotlin/reflect/KMutableProperty1;", "T", "V", "Lkotlin/reflect/KProperty1;", "Lkotlin/reflect/KMutableProperty;", "setter", "Lkotlin/reflect/KMutableProperty1$Setter;", "getSetter", "()Lkotlin/reflect/KMutableProperty1$Setter;", "set", "", "receiver", "value", "(Ljava/lang/Object;Ljava/lang/Object;)V", "Setter", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface KMutableProperty1<T, V> extends KProperty1<T, V>, KMutableProperty<V> {
|
||||
|
||||
/* compiled from: KProperty.kt */
|
||||
@Metadata(d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0000\bf\u0018\u0000*\u0004\b\u0002\u0010\u0001*\u0004\b\u0003\u0010\u00022\b\u0012\u0004\u0012\u0002H\u00020\u00032\u0014\u0012\u0004\u0012\u0002H\u0001\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u00020\u00050\u0004¨\u0006\u0006"}, d2 = {"Lkotlin/reflect/KMutableProperty1$Setter;", "T", "V", "Lkotlin/reflect/KMutableProperty$Setter;", "Lkotlin/Function2;", "", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
public interface Setter<T, V> extends KMutableProperty.Setter<V>, Function2<T, V, Unit> {
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KMutableProperty
|
||||
Setter<T, V> getSetter();
|
||||
|
||||
void set(T receiver, V value);
|
||||
}
|
22
02-Easy5/E5/sources/kotlin/reflect/KMutableProperty2.java
Normal file
22
02-Easy5/E5/sources/kotlin/reflect/KMutableProperty2.java
Normal file
@ -0,0 +1,22 @@
|
||||
package kotlin.reflect;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function3;
|
||||
import kotlin.reflect.KMutableProperty;
|
||||
|
||||
/* compiled from: KProperty.kt */
|
||||
@Metadata(d1 = {"\u0000\"\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0002\b\u0006\bf\u0018\u0000*\u0004\b\u0000\u0010\u0001*\u0004\b\u0001\u0010\u0002*\u0004\b\u0002\u0010\u00032\u0014\u0012\u0004\u0012\u0002H\u0001\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00042\b\u0012\u0004\u0012\u0002H\u00030\u0005:\u0001\u0010J%\u0010\n\u001a\u00020\u000b2\u0006\u0010\f\u001a\u00028\u00002\u0006\u0010\r\u001a\u00028\u00012\u0006\u0010\u000e\u001a\u00028\u0002H&¢\u0006\u0002\u0010\u000fR$\u0010\u0006\u001a\u0014\u0012\u0004\u0012\u00028\u0000\u0012\u0004\u0012\u00028\u0001\u0012\u0004\u0012\u00028\u00020\u0007X¦\u0004¢\u0006\u0006\u001a\u0004\b\b\u0010\t¨\u0006\u0011"}, d2 = {"Lkotlin/reflect/KMutableProperty2;", "D", "E", "V", "Lkotlin/reflect/KProperty2;", "Lkotlin/reflect/KMutableProperty;", "setter", "Lkotlin/reflect/KMutableProperty2$Setter;", "getSetter", "()Lkotlin/reflect/KMutableProperty2$Setter;", "set", "", "receiver1", "receiver2", "value", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V", "Setter", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface KMutableProperty2<D, E, V> extends KProperty2<D, E, V>, KMutableProperty<V> {
|
||||
|
||||
/* compiled from: KProperty.kt */
|
||||
@Metadata(d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0000\bf\u0018\u0000*\u0004\b\u0003\u0010\u0001*\u0004\b\u0004\u0010\u0002*\u0004\b\u0005\u0010\u00032\b\u0012\u0004\u0012\u0002H\u00030\u00042\u001a\u0012\u0004\u0012\u0002H\u0001\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u0003\u0012\u0004\u0012\u00020\u00060\u0005¨\u0006\u0007"}, d2 = {"Lkotlin/reflect/KMutableProperty2$Setter;", "D", "E", "V", "Lkotlin/reflect/KMutableProperty$Setter;", "Lkotlin/Function3;", "", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
public interface Setter<D, E, V> extends KMutableProperty.Setter<V>, Function3<D, E, V, Unit> {
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KMutableProperty
|
||||
Setter<D, E, V> getSetter();
|
||||
|
||||
void set(D receiver1, E receiver2, V value);
|
||||
}
|
36
02-Easy5/E5/sources/kotlin/reflect/KParameter.java
Normal file
36
02-Easy5/E5/sources/kotlin/reflect/KParameter.java
Normal file
@ -0,0 +1,36 @@
|
||||
package kotlin.reflect;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: KParameter.kt */
|
||||
@Metadata(d1 = {"\u00002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0004\bf\u0018\u00002\u00020\u0001:\u0001\u0018R\u0012\u0010\u0002\u001a\u00020\u0003X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0004\u0010\u0005R\u0012\u0010\u0006\u001a\u00020\u0007X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0006\u0010\bR\u001a\u0010\t\u001a\u00020\u00078&X§\u0004¢\u0006\f\u0012\u0004\b\n\u0010\u000b\u001a\u0004\b\t\u0010\bR\u0012\u0010\f\u001a\u00020\rX¦\u0004¢\u0006\u0006\u001a\u0004\b\u000e\u0010\u000fR\u0014\u0010\u0010\u001a\u0004\u0018\u00010\u0011X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0012\u0010\u0013R\u0012\u0010\u0014\u001a\u00020\u0015X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0016\u0010\u0017¨\u0006\u0019"}, d2 = {"Lkotlin/reflect/KParameter;", "Lkotlin/reflect/KAnnotatedElement;", "index", "", "getIndex", "()I", "isOptional", "", "()Z", "isVararg", "isVararg$annotations", "()V", "kind", "Lkotlin/reflect/KParameter$Kind;", "getKind", "()Lkotlin/reflect/KParameter$Kind;", "name", "", "getName", "()Ljava/lang/String;", "type", "Lkotlin/reflect/KType;", "getType", "()Lkotlin/reflect/KType;", "Kind", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface KParameter extends KAnnotatedElement {
|
||||
|
||||
/* compiled from: KParameter.kt */
|
||||
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
|
||||
public static final class DefaultImpls {
|
||||
public static /* synthetic */ void isVararg$annotations() {
|
||||
}
|
||||
}
|
||||
|
||||
/* compiled from: KParameter.kt */
|
||||
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0002\b\u0005\b\u0086\u0001\u0018\u00002\b\u0012\u0004\u0012\u00020\u00000\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002j\u0002\b\u0003j\u0002\b\u0004j\u0002\b\u0005¨\u0006\u0006"}, d2 = {"Lkotlin/reflect/KParameter$Kind;", "", "(Ljava/lang/String;I)V", "INSTANCE", "EXTENSION_RECEIVER", "VALUE", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
public enum Kind {
|
||||
INSTANCE,
|
||||
EXTENSION_RECEIVER,
|
||||
VALUE
|
||||
}
|
||||
|
||||
int getIndex();
|
||||
|
||||
Kind getKind();
|
||||
|
||||
String getName();
|
||||
|
||||
KType getType();
|
||||
|
||||
boolean isOptional();
|
||||
|
||||
boolean isVararg();
|
||||
}
|
36
02-Easy5/E5/sources/kotlin/reflect/KProperty.java
Normal file
36
02-Easy5/E5/sources/kotlin/reflect/KProperty.java
Normal file
@ -0,0 +1,36 @@
|
||||
package kotlin.reflect;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: KProperty.kt */
|
||||
@Metadata(d1 = {"\u0000\u001c\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\b\bf\u0018\u0000*\u0006\b\u0000\u0010\u0001 \u00012\b\u0012\u0004\u0012\u0002H\u00010\u0002:\u0002\u000e\u000fR\u0018\u0010\u0003\u001a\b\u0012\u0004\u0012\u00028\u00000\u0004X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0005\u0010\u0006R\u001a\u0010\u0007\u001a\u00020\b8&X§\u0004¢\u0006\f\u0012\u0004\b\t\u0010\n\u001a\u0004\b\u0007\u0010\u000bR\u001a\u0010\f\u001a\u00020\b8&X§\u0004¢\u0006\f\u0012\u0004\b\r\u0010\n\u001a\u0004\b\f\u0010\u000b¨\u0006\u0010"}, d2 = {"Lkotlin/reflect/KProperty;", "V", "Lkotlin/reflect/KCallable;", "getter", "Lkotlin/reflect/KProperty$Getter;", "getGetter", "()Lkotlin/reflect/KProperty$Getter;", "isConst", "", "isConst$annotations", "()V", "()Z", "isLateinit", "isLateinit$annotations", "Accessor", "Getter", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface KProperty<V> extends KCallable<V> {
|
||||
|
||||
/* compiled from: KProperty.kt */
|
||||
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\bf\u0018\u0000*\u0006\b\u0001\u0010\u0001 \u00012\u00020\u0002R\u0018\u0010\u0003\u001a\b\u0012\u0004\u0012\u00028\u00010\u0004X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0007"}, d2 = {"Lkotlin/reflect/KProperty$Accessor;", "V", "", "property", "Lkotlin/reflect/KProperty;", "getProperty", "()Lkotlin/reflect/KProperty;", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
public interface Accessor<V> {
|
||||
KProperty<V> getProperty();
|
||||
}
|
||||
|
||||
/* compiled from: KProperty.kt */
|
||||
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
|
||||
public static final class DefaultImpls {
|
||||
public static /* synthetic */ void isConst$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void isLateinit$annotations() {
|
||||
}
|
||||
}
|
||||
|
||||
/* compiled from: KProperty.kt */
|
||||
@Metadata(d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\bf\u0018\u0000*\u0006\b\u0001\u0010\u0001 \u00012\b\u0012\u0004\u0012\u0002H\u00010\u00022\b\u0012\u0004\u0012\u0002H\u00010\u0003¨\u0006\u0004"}, d2 = {"Lkotlin/reflect/KProperty$Getter;", "V", "Lkotlin/reflect/KProperty$Accessor;", "Lkotlin/reflect/KFunction;", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
public interface Getter<V> extends Accessor<V>, KFunction<V> {
|
||||
}
|
||||
|
||||
Getter<V> getGetter();
|
||||
|
||||
boolean isConst();
|
||||
|
||||
boolean isLateinit();
|
||||
}
|
23
02-Easy5/E5/sources/kotlin/reflect/KProperty0.java
Normal file
23
02-Easy5/E5/sources/kotlin/reflect/KProperty0.java
Normal file
@ -0,0 +1,23 @@
|
||||
package kotlin.reflect;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.functions.Function0;
|
||||
import kotlin.reflect.KProperty;
|
||||
|
||||
/* compiled from: KProperty.kt */
|
||||
@Metadata(d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\u0000\n\u0002\b\u0002\bf\u0018\u0000*\u0006\b\u0000\u0010\u0001 \u00012\b\u0012\u0004\u0012\u0002H\u00010\u00022\b\u0012\u0004\u0012\u0002H\u00010\u0003:\u0001\fJ\r\u0010\b\u001a\u00028\u0000H&¢\u0006\u0002\u0010\tJ\n\u0010\n\u001a\u0004\u0018\u00010\u000bH'R\u0018\u0010\u0004\u001a\b\u0012\u0004\u0012\u00028\u00000\u0005X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0006\u0010\u0007¨\u0006\r"}, d2 = {"Lkotlin/reflect/KProperty0;", "V", "Lkotlin/reflect/KProperty;", "Lkotlin/Function0;", "getter", "Lkotlin/reflect/KProperty0$Getter;", "getGetter", "()Lkotlin/reflect/KProperty0$Getter;", "get", "()Ljava/lang/Object;", "getDelegate", "", "Getter", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface KProperty0<V> extends KProperty<V>, Function0<V> {
|
||||
|
||||
/* compiled from: KProperty.kt */
|
||||
@Metadata(d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\bf\u0018\u0000*\u0006\b\u0001\u0010\u0001 \u00012\b\u0012\u0004\u0012\u0002H\u00010\u00022\b\u0012\u0004\u0012\u0002H\u00010\u0003¨\u0006\u0004"}, d2 = {"Lkotlin/reflect/KProperty0$Getter;", "V", "Lkotlin/reflect/KProperty$Getter;", "Lkotlin/Function0;", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
public interface Getter<V> extends KProperty.Getter<V>, Function0<V> {
|
||||
}
|
||||
|
||||
V get();
|
||||
|
||||
Object getDelegate();
|
||||
|
||||
@Override // kotlin.reflect.KProperty
|
||||
Getter<V> getGetter();
|
||||
}
|
23
02-Easy5/E5/sources/kotlin/reflect/KProperty1.java
Normal file
23
02-Easy5/E5/sources/kotlin/reflect/KProperty1.java
Normal file
@ -0,0 +1,23 @@
|
||||
package kotlin.reflect;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
import kotlin.reflect.KProperty;
|
||||
|
||||
/* compiled from: KProperty.kt */
|
||||
@Metadata(d1 = {"\u0000\"\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0010\u0000\n\u0002\b\u0002\bf\u0018\u0000*\u0004\b\u0000\u0010\u0001*\u0006\b\u0001\u0010\u0002 \u00012\b\u0012\u0004\u0012\u0002H\u00020\u00032\u000e\u0012\u0004\u0012\u0002H\u0001\u0012\u0004\u0012\u0002H\u00020\u0004:\u0001\u000eJ\u0015\u0010\t\u001a\u00028\u00012\u0006\u0010\n\u001a\u00028\u0000H&¢\u0006\u0002\u0010\u000bJ\u0017\u0010\f\u001a\u0004\u0018\u00010\r2\u0006\u0010\n\u001a\u00028\u0000H'¢\u0006\u0002\u0010\u000bR\u001e\u0010\u0005\u001a\u000e\u0012\u0004\u0012\u00028\u0000\u0012\u0004\u0012\u00028\u00010\u0006X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0007\u0010\b¨\u0006\u000f"}, d2 = {"Lkotlin/reflect/KProperty1;", "T", "V", "Lkotlin/reflect/KProperty;", "Lkotlin/Function1;", "getter", "Lkotlin/reflect/KProperty1$Getter;", "getGetter", "()Lkotlin/reflect/KProperty1$Getter;", "get", "receiver", "(Ljava/lang/Object;)Ljava/lang/Object;", "getDelegate", "", "Getter", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface KProperty1<T, V> extends KProperty<V>, Function1<T, V> {
|
||||
|
||||
/* compiled from: KProperty.kt */
|
||||
@Metadata(d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\bf\u0018\u0000*\u0004\b\u0002\u0010\u0001*\u0006\b\u0003\u0010\u0002 \u00012\b\u0012\u0004\u0012\u0002H\u00020\u00032\u000e\u0012\u0004\u0012\u0002H\u0001\u0012\u0004\u0012\u0002H\u00020\u0004¨\u0006\u0005"}, d2 = {"Lkotlin/reflect/KProperty1$Getter;", "T", "V", "Lkotlin/reflect/KProperty$Getter;", "Lkotlin/Function1;", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
public interface Getter<T, V> extends KProperty.Getter<V>, Function1<T, V> {
|
||||
}
|
||||
|
||||
V get(T receiver);
|
||||
|
||||
Object getDelegate(T receiver);
|
||||
|
||||
@Override // kotlin.reflect.KProperty
|
||||
Getter<T, V> getGetter();
|
||||
}
|
23
02-Easy5/E5/sources/kotlin/reflect/KProperty2.java
Normal file
23
02-Easy5/E5/sources/kotlin/reflect/KProperty2.java
Normal file
@ -0,0 +1,23 @@
|
||||
package kotlin.reflect;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.functions.Function2;
|
||||
import kotlin.reflect.KProperty;
|
||||
|
||||
/* compiled from: KProperty.kt */
|
||||
@Metadata(d1 = {"\u0000\"\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0010\u0000\n\u0002\b\u0002\bf\u0018\u0000*\u0004\b\u0000\u0010\u0001*\u0004\b\u0001\u0010\u0002*\u0006\b\u0002\u0010\u0003 \u00012\b\u0012\u0004\u0012\u0002H\u00030\u00042\u0014\u0012\u0004\u0012\u0002H\u0001\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0005:\u0001\u0010J\u001d\u0010\n\u001a\u00028\u00022\u0006\u0010\u000b\u001a\u00028\u00002\u0006\u0010\f\u001a\u00028\u0001H&¢\u0006\u0002\u0010\rJ\u001f\u0010\u000e\u001a\u0004\u0018\u00010\u000f2\u0006\u0010\u000b\u001a\u00028\u00002\u0006\u0010\f\u001a\u00028\u0001H'¢\u0006\u0002\u0010\rR$\u0010\u0006\u001a\u0014\u0012\u0004\u0012\u00028\u0000\u0012\u0004\u0012\u00028\u0001\u0012\u0004\u0012\u00028\u00020\u0007X¦\u0004¢\u0006\u0006\u001a\u0004\b\b\u0010\t¨\u0006\u0011"}, d2 = {"Lkotlin/reflect/KProperty2;", "D", "E", "V", "Lkotlin/reflect/KProperty;", "Lkotlin/Function2;", "getter", "Lkotlin/reflect/KProperty2$Getter;", "getGetter", "()Lkotlin/reflect/KProperty2$Getter;", "get", "receiver1", "receiver2", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;", "getDelegate", "", "Getter", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface KProperty2<D, E, V> extends KProperty<V>, Function2<D, E, V> {
|
||||
|
||||
/* compiled from: KProperty.kt */
|
||||
@Metadata(d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\bf\u0018\u0000*\u0004\b\u0003\u0010\u0001*\u0004\b\u0004\u0010\u0002*\u0006\b\u0005\u0010\u0003 \u00012\b\u0012\u0004\u0012\u0002H\u00030\u00042\u0014\u0012\u0004\u0012\u0002H\u0001\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0005¨\u0006\u0006"}, d2 = {"Lkotlin/reflect/KProperty2$Getter;", "D", "E", "V", "Lkotlin/reflect/KProperty$Getter;", "Lkotlin/Function2;", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
public interface Getter<D, E, V> extends KProperty.Getter<V>, Function2<D, E, V> {
|
||||
}
|
||||
|
||||
V get(D receiver1, E receiver2);
|
||||
|
||||
Object getDelegate(D receiver1, E receiver2);
|
||||
|
||||
@Override // kotlin.reflect.KProperty
|
||||
Getter<D, E, V> getGetter();
|
||||
}
|
26
02-Easy5/E5/sources/kotlin/reflect/KType.java
Normal file
26
02-Easy5/E5/sources/kotlin/reflect/KType.java
Normal file
@ -0,0 +1,26 @@
|
||||
package kotlin.reflect;
|
||||
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: KType.kt */
|
||||
@Metadata(d1 = {"\u0000&\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010\u000b\n\u0002\b\u0002\bf\u0018\u00002\u00020\u0001R \u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00040\u00038&X§\u0004¢\u0006\f\u0012\u0004\b\u0005\u0010\u0006\u001a\u0004\b\u0007\u0010\bR\u001c\u0010\t\u001a\u0004\u0018\u00010\n8&X§\u0004¢\u0006\f\u0012\u0004\b\u000b\u0010\u0006\u001a\u0004\b\f\u0010\rR\u0012\u0010\u000e\u001a\u00020\u000fX¦\u0004¢\u0006\u0006\u001a\u0004\b\u000e\u0010\u0010¨\u0006\u0011"}, d2 = {"Lkotlin/reflect/KType;", "Lkotlin/reflect/KAnnotatedElement;", "arguments", "", "Lkotlin/reflect/KTypeProjection;", "getArguments$annotations", "()V", "getArguments", "()Ljava/util/List;", "classifier", "Lkotlin/reflect/KClassifier;", "getClassifier$annotations", "getClassifier", "()Lkotlin/reflect/KClassifier;", "isMarkedNullable", "", "()Z", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface KType extends KAnnotatedElement {
|
||||
|
||||
/* compiled from: KType.kt */
|
||||
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
|
||||
public static final class DefaultImpls {
|
||||
public static /* synthetic */ void getArguments$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void getClassifier$annotations() {
|
||||
}
|
||||
}
|
||||
|
||||
List<KTypeProjection> getArguments();
|
||||
|
||||
KClassifier getClassifier();
|
||||
|
||||
boolean isMarkedNullable();
|
||||
}
|
17
02-Easy5/E5/sources/kotlin/reflect/KTypeParameter.java
Normal file
17
02-Easy5/E5/sources/kotlin/reflect/KTypeParameter.java
Normal file
@ -0,0 +1,17 @@
|
||||
package kotlin.reflect;
|
||||
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: KTypeParameter.kt */
|
||||
@Metadata(d1 = {"\u0000.\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\bg\u0018\u00002\u00020\u0001R\u0012\u0010\u0002\u001a\u00020\u0003X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0002\u0010\u0004R\u0012\u0010\u0005\u001a\u00020\u0006X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0007\u0010\bR\u0018\u0010\t\u001a\b\u0012\u0004\u0012\u00020\u000b0\nX¦\u0004¢\u0006\u0006\u001a\u0004\b\f\u0010\rR\u0012\u0010\u000e\u001a\u00020\u000fX¦\u0004¢\u0006\u0006\u001a\u0004\b\u0010\u0010\u0011¨\u0006\u0012"}, d2 = {"Lkotlin/reflect/KTypeParameter;", "Lkotlin/reflect/KClassifier;", "isReified", "", "()Z", "name", "", "getName", "()Ljava/lang/String;", "upperBounds", "", "Lkotlin/reflect/KType;", "getUpperBounds", "()Ljava/util/List;", "variance", "Lkotlin/reflect/KVariance;", "getVariance", "()Lkotlin/reflect/KVariance;", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface KTypeParameter extends KClassifier {
|
||||
String getName();
|
||||
|
||||
List<KType> getUpperBounds();
|
||||
|
||||
KVariance getVariance();
|
||||
|
||||
boolean isReified();
|
||||
}
|
176
02-Easy5/E5/sources/kotlin/reflect/KTypeProjection.java
Normal file
176
02-Easy5/E5/sources/kotlin/reflect/KTypeProjection.java
Normal file
@ -0,0 +1,176 @@
|
||||
package kotlin.reflect;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.NoWhenBranchMatchedException;
|
||||
import kotlin.jvm.JvmStatic;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* compiled from: KTypeProjection.kt */
|
||||
@Metadata(d1 = {"\u0000.\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\b\u0087\b\u0018\u0000 \u00152\u00020\u0001:\u0001\u0015B\u0019\u0012\b\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0005¢\u0006\u0002\u0010\u0006J\u000b\u0010\u000b\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010\f\u001a\u0004\u0018\u00010\u0005HÆ\u0003J!\u0010\r\u001a\u00020\u00002\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u0005HÆ\u0001J\u0013\u0010\u000e\u001a\u00020\u000f2\b\u0010\u0010\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0011\u001a\u00020\u0012HÖ\u0001J\b\u0010\u0013\u001a\u00020\u0014H\u0016R\u0013\u0010\u0004\u001a\u0004\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\bR\u0013\u0010\u0002\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\n¨\u0006\u0016"}, d2 = {"Lkotlin/reflect/KTypeProjection;", "", "variance", "Lkotlin/reflect/KVariance;", "type", "Lkotlin/reflect/KType;", "(Lkotlin/reflect/KVariance;Lkotlin/reflect/KType;)V", "getType", "()Lkotlin/reflect/KType;", "getVariance", "()Lkotlin/reflect/KVariance;", "component1", "component2", "copy", "equals", "", "other", "hashCode", "", "toString", "", "Companion", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class KTypeProjection {
|
||||
|
||||
/* renamed from: Companion, reason: from kotlin metadata */
|
||||
public static final Companion INSTANCE = new Companion(null);
|
||||
public static final KTypeProjection star = new KTypeProjection(null, null);
|
||||
private final KType type;
|
||||
private final KVariance variance;
|
||||
|
||||
/* compiled from: KTypeProjection.kt */
|
||||
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
|
||||
public /* synthetic */ class WhenMappings {
|
||||
public static final /* synthetic */ int[] $EnumSwitchMapping$0;
|
||||
|
||||
static {
|
||||
int[] iArr = new int[KVariance.values().length];
|
||||
try {
|
||||
iArr[KVariance.INVARIANT.ordinal()] = 1;
|
||||
} catch (NoSuchFieldError unused) {
|
||||
}
|
||||
try {
|
||||
iArr[KVariance.IN.ordinal()] = 2;
|
||||
} catch (NoSuchFieldError unused2) {
|
||||
}
|
||||
try {
|
||||
iArr[KVariance.OUT.ordinal()] = 3;
|
||||
} catch (NoSuchFieldError unused3) {
|
||||
}
|
||||
$EnumSwitchMapping$0 = iArr;
|
||||
}
|
||||
}
|
||||
|
||||
@JvmStatic
|
||||
public static final KTypeProjection contravariant(KType kType) {
|
||||
return INSTANCE.contravariant(kType);
|
||||
}
|
||||
|
||||
public static /* synthetic */ KTypeProjection copy$default(KTypeProjection kTypeProjection, KVariance kVariance, KType kType, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
kVariance = kTypeProjection.variance;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
kType = kTypeProjection.type;
|
||||
}
|
||||
return kTypeProjection.copy(kVariance, kType);
|
||||
}
|
||||
|
||||
@JvmStatic
|
||||
public static final KTypeProjection covariant(KType kType) {
|
||||
return INSTANCE.covariant(kType);
|
||||
}
|
||||
|
||||
@JvmStatic
|
||||
public static final KTypeProjection invariant(KType kType) {
|
||||
return INSTANCE.invariant(kType);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final KVariance getVariance() {
|
||||
return this.variance;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final KType getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
public final KTypeProjection copy(KVariance variance, KType type) {
|
||||
return new KTypeProjection(variance, type);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof KTypeProjection)) {
|
||||
return false;
|
||||
}
|
||||
KTypeProjection kTypeProjection = (KTypeProjection) other;
|
||||
return this.variance == kTypeProjection.variance && Intrinsics.areEqual(this.type, kTypeProjection.type);
|
||||
}
|
||||
|
||||
public final KType getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
public final KVariance getVariance() {
|
||||
return this.variance;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
KVariance kVariance = this.variance;
|
||||
int hashCode = (kVariance == null ? 0 : kVariance.hashCode()) * 31;
|
||||
KType kType = this.type;
|
||||
return hashCode + (kType != null ? kType.hashCode() : 0);
|
||||
}
|
||||
|
||||
public KTypeProjection(KVariance kVariance, KType kType) {
|
||||
String str;
|
||||
this.variance = kVariance;
|
||||
this.type = kType;
|
||||
if ((kVariance == null) == (kType == null)) {
|
||||
return;
|
||||
}
|
||||
if (kVariance == null) {
|
||||
str = "Star projection must have no type specified.";
|
||||
} else {
|
||||
str = "The projection variance " + kVariance + " requires type to be specified.";
|
||||
}
|
||||
throw new IllegalArgumentException(str.toString());
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
KVariance kVariance = this.variance;
|
||||
int i = kVariance == null ? -1 : WhenMappings.$EnumSwitchMapping$0[kVariance.ordinal()];
|
||||
if (i == -1) {
|
||||
return "*";
|
||||
}
|
||||
if (i == 1) {
|
||||
return String.valueOf(this.type);
|
||||
}
|
||||
if (i == 2) {
|
||||
return "in " + this.type;
|
||||
}
|
||||
if (i != 3) {
|
||||
throw new NoWhenBranchMatchedException();
|
||||
}
|
||||
return "out " + this.type;
|
||||
}
|
||||
|
||||
/* compiled from: KTypeProjection.kt */
|
||||
@Metadata(d1 = {"\u0000\u001c\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u0010\u0010\t\u001a\u00020\u00042\u0006\u0010\n\u001a\u00020\u000bH\u0007J\u0010\u0010\f\u001a\u00020\u00042\u0006\u0010\n\u001a\u00020\u000bH\u0007J\u0010\u0010\r\u001a\u00020\u00042\u0006\u0010\n\u001a\u00020\u000bH\u0007R\u0011\u0010\u0003\u001a\u00020\u00048F¢\u0006\u0006\u001a\u0004\b\u0005\u0010\u0006R\u0016\u0010\u0007\u001a\u00020\u00048\u0000X\u0081\u0004¢\u0006\b\n\u0000\u0012\u0004\b\b\u0010\u0002¨\u0006\u000e"}, d2 = {"Lkotlin/reflect/KTypeProjection$Companion;", "", "()V", "STAR", "Lkotlin/reflect/KTypeProjection;", "getSTAR", "()Lkotlin/reflect/KTypeProjection;", "star", "getStar$annotations", "contravariant", "type", "Lkotlin/reflect/KType;", "covariant", "invariant", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
public static final class Companion {
|
||||
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this();
|
||||
}
|
||||
|
||||
public static /* synthetic */ void getStar$annotations() {
|
||||
}
|
||||
|
||||
private Companion() {
|
||||
}
|
||||
|
||||
public final KTypeProjection getSTAR() {
|
||||
return KTypeProjection.star;
|
||||
}
|
||||
|
||||
@JvmStatic
|
||||
public final KTypeProjection invariant(KType type) {
|
||||
Intrinsics.checkNotNullParameter(type, "type");
|
||||
return new KTypeProjection(KVariance.INVARIANT, type);
|
||||
}
|
||||
|
||||
@JvmStatic
|
||||
public final KTypeProjection contravariant(KType type) {
|
||||
Intrinsics.checkNotNullParameter(type, "type");
|
||||
return new KTypeProjection(KVariance.IN, type);
|
||||
}
|
||||
|
||||
@JvmStatic
|
||||
public final KTypeProjection covariant(KType type) {
|
||||
Intrinsics.checkNotNullParameter(type, "type");
|
||||
return new KTypeProjection(KVariance.OUT, type);
|
||||
}
|
||||
}
|
||||
}
|
12
02-Easy5/E5/sources/kotlin/reflect/KVariance.java
Normal file
12
02-Easy5/E5/sources/kotlin/reflect/KVariance.java
Normal file
@ -0,0 +1,12 @@
|
||||
package kotlin.reflect;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: KVariance.kt */
|
||||
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0002\b\u0005\b\u0087\u0001\u0018\u00002\b\u0012\u0004\u0012\u00020\u00000\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002j\u0002\b\u0003j\u0002\b\u0004j\u0002\b\u0005¨\u0006\u0006"}, d2 = {"Lkotlin/reflect/KVariance;", "", "(Ljava/lang/String;I)V", "INVARIANT", "IN", "OUT", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public enum KVariance {
|
||||
INVARIANT,
|
||||
IN,
|
||||
OUT
|
||||
}
|
13
02-Easy5/E5/sources/kotlin/reflect/KVisibility.java
Normal file
13
02-Easy5/E5/sources/kotlin/reflect/KVisibility.java
Normal file
@ -0,0 +1,13 @@
|
||||
package kotlin.reflect;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: KVisibility.kt */
|
||||
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0002\b\u0006\b\u0087\u0001\u0018\u00002\b\u0012\u0004\u0012\u00020\u00000\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002j\u0002\b\u0003j\u0002\b\u0004j\u0002\b\u0005j\u0002\b\u0006¨\u0006\u0007"}, d2 = {"Lkotlin/reflect/KVisibility;", "", "(Ljava/lang/String;I)V", "PUBLIC", "PROTECTED", "INTERNAL", "PRIVATE", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public enum KVisibility {
|
||||
PUBLIC,
|
||||
PROTECTED,
|
||||
INTERNAL,
|
||||
PRIVATE
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
package kotlin.reflect;
|
||||
|
||||
import java.lang.reflect.Type;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
import kotlin.jvm.internal.FunctionReferenceImpl;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* compiled from: TypesJVM.kt */
|
||||
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
/* synthetic */ class ParameterizedTypeImpl$getTypeName$1$1 extends FunctionReferenceImpl implements Function1<Type, String> {
|
||||
public static final ParameterizedTypeImpl$getTypeName$1$1 INSTANCE = new ParameterizedTypeImpl$getTypeName$1$1();
|
||||
|
||||
ParameterizedTypeImpl$getTypeName$1$1() {
|
||||
super(1, TypesJVMKt.class, "typeToString", "typeToString(Ljava/lang/reflect/Type;)Ljava/lang/String;", 1);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function1
|
||||
public final String invoke(Type p0) {
|
||||
String typeToString;
|
||||
Intrinsics.checkNotNullParameter(p0, "p0");
|
||||
typeToString = TypesJVMKt.typeToString(p0);
|
||||
return typeToString;
|
||||
}
|
||||
}
|
@ -0,0 +1,85 @@
|
||||
package kotlin.reflect;
|
||||
|
||||
import java.lang.reflect.ParameterizedType;
|
||||
import java.lang.reflect.Type;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.collections.ArraysKt;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* compiled from: TypesJVM.kt */
|
||||
@Metadata(d1 = {"\u0000D\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010 \n\u0000\n\u0002\u0010\u0011\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0005\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\b\u0003\u0018\u00002\u00020\u00012\u00020\u0002B)\u0012\n\u0010\u0003\u001a\u0006\u0012\u0002\b\u00030\u0004\u0012\b\u0010\u0005\u001a\u0004\u0018\u00010\u0006\u0012\f\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\u00060\b¢\u0006\u0002\u0010\tJ\u0013\u0010\f\u001a\u00020\r2\b\u0010\u000e\u001a\u0004\u0018\u00010\u000fH\u0096\u0002J\u0013\u0010\u0010\u001a\b\u0012\u0004\u0012\u00020\u00060\nH\u0016¢\u0006\u0002\u0010\u0011J\n\u0010\u0012\u001a\u0004\u0018\u00010\u0006H\u0016J\b\u0010\u0013\u001a\u00020\u0006H\u0016J\b\u0010\u0014\u001a\u00020\u0015H\u0016J\b\u0010\u0016\u001a\u00020\u0017H\u0016J\b\u0010\u0018\u001a\u00020\u0015H\u0016R\u0010\u0010\u0005\u001a\u0004\u0018\u00010\u0006X\u0082\u0004¢\u0006\u0002\n\u0000R\u0012\u0010\u0003\u001a\u0006\u0012\u0002\b\u00030\u0004X\u0082\u0004¢\u0006\u0002\n\u0000R\u0016\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\u00060\nX\u0082\u0004¢\u0006\u0004\n\u0002\u0010\u000b¨\u0006\u0019"}, d2 = {"Lkotlin/reflect/ParameterizedTypeImpl;", "Ljava/lang/reflect/ParameterizedType;", "Lkotlin/reflect/TypeImpl;", "rawType", "Ljava/lang/Class;", "ownerType", "Ljava/lang/reflect/Type;", "typeArguments", "", "(Ljava/lang/Class;Ljava/lang/reflect/Type;Ljava/util/List;)V", "", "[Ljava/lang/reflect/Type;", "equals", "", "other", "", "getActualTypeArguments", "()[Ljava/lang/reflect/Type;", "getOwnerType", "getRawType", "getTypeName", "", "hashCode", "", "toString", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
final class ParameterizedTypeImpl implements ParameterizedType, TypeImpl {
|
||||
private final Type ownerType;
|
||||
private final Class<?> rawType;
|
||||
private final Type[] typeArguments;
|
||||
|
||||
@Override // java.lang.reflect.ParameterizedType
|
||||
public Type[] getActualTypeArguments() {
|
||||
return this.typeArguments;
|
||||
}
|
||||
|
||||
@Override // java.lang.reflect.ParameterizedType
|
||||
public Type getOwnerType() {
|
||||
return this.ownerType;
|
||||
}
|
||||
|
||||
public ParameterizedTypeImpl(Class<?> rawType, Type type, List<? extends Type> typeArguments) {
|
||||
Intrinsics.checkNotNullParameter(rawType, "rawType");
|
||||
Intrinsics.checkNotNullParameter(typeArguments, "typeArguments");
|
||||
this.rawType = rawType;
|
||||
this.ownerType = type;
|
||||
this.typeArguments = (Type[]) typeArguments.toArray(new Type[0]);
|
||||
}
|
||||
|
||||
@Override // java.lang.reflect.ParameterizedType
|
||||
public Type getRawType() {
|
||||
return this.rawType;
|
||||
}
|
||||
|
||||
@Override // java.lang.reflect.Type, kotlin.reflect.TypeImpl
|
||||
public String getTypeName() {
|
||||
String typeToString;
|
||||
String typeToString2;
|
||||
StringBuilder sb = new StringBuilder();
|
||||
Type type = this.ownerType;
|
||||
if (type != null) {
|
||||
typeToString2 = TypesJVMKt.typeToString(type);
|
||||
sb.append(typeToString2);
|
||||
sb.append("$");
|
||||
sb.append(this.rawType.getSimpleName());
|
||||
} else {
|
||||
typeToString = TypesJVMKt.typeToString(this.rawType);
|
||||
sb.append(typeToString);
|
||||
}
|
||||
Type[] typeArr = this.typeArguments;
|
||||
if (!(typeArr.length == 0)) {
|
||||
ArraysKt.joinTo(typeArr, sb, (r14 & 2) != 0 ? ", " : null, (r14 & 4) != 0 ? "" : "<", (r14 & 8) != 0 ? "" : ">", (r14 & 16) != 0 ? -1 : 0, (r14 & 32) != 0 ? "..." : null, (r14 & 64) != 0 ? null : ParameterizedTypeImpl$getTypeName$1$1.INSTANCE);
|
||||
}
|
||||
String sb2 = sb.toString();
|
||||
Intrinsics.checkNotNullExpressionValue(sb2, "StringBuilder().apply(builderAction).toString()");
|
||||
return sb2;
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (other instanceof ParameterizedType) {
|
||||
ParameterizedType parameterizedType = (ParameterizedType) other;
|
||||
if (Intrinsics.areEqual(this.rawType, parameterizedType.getRawType()) && Intrinsics.areEqual(this.ownerType, parameterizedType.getOwnerType()) && Arrays.equals(getActualTypeArguments(), parameterizedType.getActualTypeArguments())) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int hashCode = this.rawType.hashCode();
|
||||
Type type = this.ownerType;
|
||||
return (hashCode ^ (type != null ? type.hashCode() : 0)) ^ Arrays.hashCode(getActualTypeArguments());
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return getTypeName();
|
||||
}
|
||||
}
|
11
02-Easy5/E5/sources/kotlin/reflect/TypeImpl.java
Normal file
11
02-Easy5/E5/sources/kotlin/reflect/TypeImpl.java
Normal file
@ -0,0 +1,11 @@
|
||||
package kotlin.reflect;
|
||||
|
||||
import java.lang.reflect.Type;
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: TypesJVM.kt */
|
||||
@Metadata(d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\bc\u0018\u00002\u00020\u0001J\b\u0010\u0002\u001a\u00020\u0003H&¨\u0006\u0004"}, d2 = {"Lkotlin/reflect/TypeImpl;", "Ljava/lang/reflect/Type;", "getTypeName", "", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
interface TypeImpl extends Type {
|
||||
String getTypeName();
|
||||
}
|
12
02-Easy5/E5/sources/kotlin/reflect/TypeOfKt.java
Normal file
12
02-Easy5/E5/sources/kotlin/reflect/TypeOfKt.java
Normal file
@ -0,0 +1,12 @@
|
||||
package kotlin.reflect;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: typeOf.kt */
|
||||
@Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\u001a\u0011\u0010\u0000\u001a\u00020\u0001\"\u0006\b\u0000\u0010\u0002\u0018\u0001H\u0087\b¨\u0006\u0003"}, d2 = {"typeOf", "Lkotlin/reflect/KType;", "T", "kotlin-stdlib"}, k = 2, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class TypeOfKt {
|
||||
public static final /* synthetic */ <T> KType typeOf() {
|
||||
throw new UnsupportedOperationException("This function is implemented as an intrinsic on all supported platforms.");
|
||||
}
|
||||
}
|
84
02-Easy5/E5/sources/kotlin/reflect/TypeVariableImpl.java
Normal file
84
02-Easy5/E5/sources/kotlin/reflect/TypeVariableImpl.java
Normal file
@ -0,0 +1,84 @@
|
||||
package kotlin.reflect;
|
||||
|
||||
import java.lang.annotation.Annotation;
|
||||
import java.lang.reflect.GenericDeclaration;
|
||||
import java.lang.reflect.Type;
|
||||
import java.lang.reflect.TypeVariable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.NotImplementedError;
|
||||
import kotlin.collections.CollectionsKt;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* compiled from: TypesJVM.kt */
|
||||
@Metadata(d1 = {"\u0000V\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u001b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0011\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0003\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u00012\u00020\u0003B\r\u0012\u0006\u0010\u0004\u001a\u00020\u0005¢\u0006\u0002\u0010\u0006J\u0013\u0010\u0007\u001a\u00020\b2\b\u0010\t\u001a\u0004\u0018\u00010\nH\u0096\u0002J%\u0010\u000b\u001a\u0004\u0018\u0001H\f\"\b\b\u0000\u0010\f*\u00020\r2\f\u0010\u000e\u001a\b\u0012\u0004\u0012\u0002H\f0\u000f¢\u0006\u0002\u0010\u0010J\u0011\u0010\u0011\u001a\b\u0012\u0004\u0012\u00020\r0\u0012¢\u0006\u0002\u0010\u0013J\u0013\u0010\u0014\u001a\b\u0012\u0004\u0012\u00020\u00150\u0012H\u0016¢\u0006\u0002\u0010\u0016J\u0011\u0010\u0017\u001a\b\u0012\u0004\u0012\u00020\r0\u0012¢\u0006\u0002\u0010\u0013J\b\u0010\u0018\u001a\u00020\u0002H\u0016J\b\u0010\u0019\u001a\u00020\u001aH\u0016J\b\u0010\u001b\u001a\u00020\u001aH\u0016J\b\u0010\u001c\u001a\u00020\u001dH\u0016J\b\u0010\u001e\u001a\u00020\u001aH\u0016R\u000e\u0010\u0004\u001a\u00020\u0005X\u0082\u0004¢\u0006\u0002\n\u0000¨\u0006\u001f"}, d2 = {"Lkotlin/reflect/TypeVariableImpl;", "Ljava/lang/reflect/TypeVariable;", "Ljava/lang/reflect/GenericDeclaration;", "Lkotlin/reflect/TypeImpl;", "typeParameter", "Lkotlin/reflect/KTypeParameter;", "(Lkotlin/reflect/KTypeParameter;)V", "equals", "", "other", "", "getAnnotation", "T", "", "annotationClass", "Ljava/lang/Class;", "(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;", "getAnnotations", "", "()[Ljava/lang/annotation/Annotation;", "getBounds", "Ljava/lang/reflect/Type;", "()[Ljava/lang/reflect/Type;", "getDeclaredAnnotations", "getGenericDeclaration", "getName", "", "getTypeName", "hashCode", "", "toString", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
final class TypeVariableImpl implements TypeVariable<GenericDeclaration>, TypeImpl {
|
||||
private final KTypeParameter typeParameter;
|
||||
|
||||
public final <T extends Annotation> T getAnnotation(Class<T> annotationClass) {
|
||||
Intrinsics.checkNotNullParameter(annotationClass, "annotationClass");
|
||||
return null;
|
||||
}
|
||||
|
||||
public final Annotation[] getAnnotations() {
|
||||
return new Annotation[0];
|
||||
}
|
||||
|
||||
public final Annotation[] getDeclaredAnnotations() {
|
||||
return new Annotation[0];
|
||||
}
|
||||
|
||||
public TypeVariableImpl(KTypeParameter typeParameter) {
|
||||
Intrinsics.checkNotNullParameter(typeParameter, "typeParameter");
|
||||
this.typeParameter = typeParameter;
|
||||
}
|
||||
|
||||
@Override // java.lang.reflect.TypeVariable
|
||||
public String getName() {
|
||||
return this.typeParameter.getName();
|
||||
}
|
||||
|
||||
@Override // java.lang.reflect.TypeVariable
|
||||
public GenericDeclaration getGenericDeclaration() {
|
||||
throw new NotImplementedError("An operation is not implemented: " + ("getGenericDeclaration() is not yet supported for type variables created from KType: " + this.typeParameter));
|
||||
}
|
||||
|
||||
@Override // java.lang.reflect.TypeVariable
|
||||
public Type[] getBounds() {
|
||||
Type computeJavaType;
|
||||
List<KType> upperBounds = this.typeParameter.getUpperBounds();
|
||||
ArrayList arrayList = new ArrayList(CollectionsKt.collectionSizeOrDefault(upperBounds, 10));
|
||||
Iterator<T> it = upperBounds.iterator();
|
||||
while (it.hasNext()) {
|
||||
computeJavaType = TypesJVMKt.computeJavaType((KType) it.next(), true);
|
||||
arrayList.add(computeJavaType);
|
||||
}
|
||||
return (Type[]) arrayList.toArray(new Type[0]);
|
||||
}
|
||||
|
||||
@Override // java.lang.reflect.Type, kotlin.reflect.TypeImpl
|
||||
public String getTypeName() {
|
||||
return getName();
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (other instanceof TypeVariable) {
|
||||
TypeVariable typeVariable = (TypeVariable) other;
|
||||
if (Intrinsics.areEqual(getName(), typeVariable.getName()) && Intrinsics.areEqual(getGenericDeclaration(), typeVariable.getGenericDeclaration())) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return getName().hashCode() ^ getGenericDeclaration().hashCode();
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return getTypeName();
|
||||
}
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
package kotlin.reflect;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
import kotlin.jvm.internal.FunctionReferenceImpl;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* compiled from: TypesJVM.kt */
|
||||
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
/* synthetic */ class TypesJVMKt$typeToString$unwrap$1 extends FunctionReferenceImpl implements Function1<Class<?>, Class<?>> {
|
||||
public static final TypesJVMKt$typeToString$unwrap$1 INSTANCE = new TypesJVMKt$typeToString$unwrap$1();
|
||||
|
||||
TypesJVMKt$typeToString$unwrap$1() {
|
||||
super(1, Class.class, "getComponentType", "getComponentType()Ljava/lang/Class;", 0);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function1
|
||||
public final Class<?> invoke(Class<?> p0) {
|
||||
Intrinsics.checkNotNullParameter(p0, "p0");
|
||||
return p0.getComponentType();
|
||||
}
|
||||
}
|
176
02-Easy5/E5/sources/kotlin/reflect/TypesJVMKt.java
Normal file
176
02-Easy5/E5/sources/kotlin/reflect/TypesJVMKt.java
Normal file
@ -0,0 +1,176 @@
|
||||
package kotlin.reflect;
|
||||
|
||||
import java.lang.reflect.Modifier;
|
||||
import java.lang.reflect.Type;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.NoWhenBranchMatchedException;
|
||||
import kotlin.collections.CollectionsKt;
|
||||
import kotlin.jvm.JvmClassMappingKt;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlin.jvm.internal.KTypeBase;
|
||||
import kotlin.sequences.Sequence;
|
||||
import kotlin.sequences.SequencesKt;
|
||||
import kotlin.text.StringsKt;
|
||||
|
||||
/* compiled from: TypesJVM.kt */
|
||||
@Metadata(d1 = {"\u00000\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010 \n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0000\u001a\"\u0010\n\u001a\u00020\u00012\n\u0010\u000b\u001a\u0006\u0012\u0002\b\u00030\f2\f\u0010\r\u001a\b\u0012\u0004\u0012\u00020\u00070\u000eH\u0003\u001a\u0010\u0010\u000f\u001a\u00020\u00102\u0006\u0010\u0011\u001a\u00020\u0001H\u0002\u001a\u0016\u0010\u0012\u001a\u00020\u0001*\u00020\u00022\b\b\u0002\u0010\u0013\u001a\u00020\u0014H\u0003\"\u001e\u0010\u0000\u001a\u00020\u0001*\u00020\u00028FX\u0087\u0004¢\u0006\f\u0012\u0004\b\u0003\u0010\u0004\u001a\u0004\b\u0005\u0010\u0006\"\u001e\u0010\u0000\u001a\u00020\u0001*\u00020\u00078BX\u0083\u0004¢\u0006\f\u0012\u0004\b\u0003\u0010\b\u001a\u0004\b\u0005\u0010\t¨\u0006\u0015"}, d2 = {"javaType", "Ljava/lang/reflect/Type;", "Lkotlin/reflect/KType;", "getJavaType$annotations", "(Lkotlin/reflect/KType;)V", "getJavaType", "(Lkotlin/reflect/KType;)Ljava/lang/reflect/Type;", "Lkotlin/reflect/KTypeProjection;", "(Lkotlin/reflect/KTypeProjection;)V", "(Lkotlin/reflect/KTypeProjection;)Ljava/lang/reflect/Type;", "createPossiblyInnerType", "jClass", "Ljava/lang/Class;", "arguments", "", "typeToString", "", "type", "computeJavaType", "forceWrapper", "", "kotlin-stdlib"}, k = 2, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class TypesJVMKt {
|
||||
|
||||
/* compiled from: TypesJVM.kt */
|
||||
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
|
||||
public /* synthetic */ class WhenMappings {
|
||||
public static final /* synthetic */ int[] $EnumSwitchMapping$0;
|
||||
|
||||
static {
|
||||
int[] iArr = new int[KVariance.values().length];
|
||||
try {
|
||||
iArr[KVariance.IN.ordinal()] = 1;
|
||||
} catch (NoSuchFieldError unused) {
|
||||
}
|
||||
try {
|
||||
iArr[KVariance.INVARIANT.ordinal()] = 2;
|
||||
} catch (NoSuchFieldError unused2) {
|
||||
}
|
||||
try {
|
||||
iArr[KVariance.OUT.ordinal()] = 3;
|
||||
} catch (NoSuchFieldError unused3) {
|
||||
}
|
||||
$EnumSwitchMapping$0 = iArr;
|
||||
}
|
||||
}
|
||||
|
||||
public static /* synthetic */ void getJavaType$annotations(KType kType) {
|
||||
}
|
||||
|
||||
private static /* synthetic */ void getJavaType$annotations(KTypeProjection kTypeProjection) {
|
||||
}
|
||||
|
||||
public static final Type getJavaType(KType kType) {
|
||||
Type javaType;
|
||||
Intrinsics.checkNotNullParameter(kType, "<this>");
|
||||
return (!(kType instanceof KTypeBase) || (javaType = ((KTypeBase) kType).getJavaType()) == null) ? computeJavaType$default(kType, false, 1, null) : javaType;
|
||||
}
|
||||
|
||||
static /* synthetic */ Type computeJavaType$default(KType kType, boolean z, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
z = false;
|
||||
}
|
||||
return computeJavaType(kType, z);
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final Type computeJavaType(KType kType, boolean z) {
|
||||
KClassifier classifier = kType.getClassifier();
|
||||
if (classifier instanceof KTypeParameter) {
|
||||
return new TypeVariableImpl((KTypeParameter) classifier);
|
||||
}
|
||||
if (classifier instanceof KClass) {
|
||||
KClass kClass = (KClass) classifier;
|
||||
Class javaObjectType = z ? JvmClassMappingKt.getJavaObjectType(kClass) : JvmClassMappingKt.getJavaClass(kClass);
|
||||
List<KTypeProjection> arguments = kType.getArguments();
|
||||
if (arguments.isEmpty()) {
|
||||
return javaObjectType;
|
||||
}
|
||||
if (javaObjectType.isArray()) {
|
||||
if (javaObjectType.getComponentType().isPrimitive()) {
|
||||
return javaObjectType;
|
||||
}
|
||||
KTypeProjection kTypeProjection = (KTypeProjection) CollectionsKt.singleOrNull((List) arguments);
|
||||
if (kTypeProjection == null) {
|
||||
throw new IllegalArgumentException("kotlin.Array must have exactly one type argument: " + kType);
|
||||
}
|
||||
KVariance variance = kTypeProjection.getVariance();
|
||||
KType type = kTypeProjection.getType();
|
||||
int i = variance == null ? -1 : WhenMappings.$EnumSwitchMapping$0[variance.ordinal()];
|
||||
if (i == -1 || i == 1) {
|
||||
return javaObjectType;
|
||||
}
|
||||
if (i == 2 || i == 3) {
|
||||
Intrinsics.checkNotNull(type);
|
||||
Type computeJavaType$default = computeJavaType$default(type, false, 1, null);
|
||||
Type type2 = javaObjectType;
|
||||
if (!(computeJavaType$default instanceof Class)) {
|
||||
type2 = new GenericArrayTypeImpl(computeJavaType$default);
|
||||
}
|
||||
return type2;
|
||||
}
|
||||
throw new NoWhenBranchMatchedException();
|
||||
}
|
||||
return createPossiblyInnerType(javaObjectType, arguments);
|
||||
}
|
||||
throw new UnsupportedOperationException("Unsupported type classifier: " + kType);
|
||||
}
|
||||
|
||||
private static final Type createPossiblyInnerType(Class<?> cls, List<KTypeProjection> list) {
|
||||
Class<?> declaringClass = cls.getDeclaringClass();
|
||||
if (declaringClass == null) {
|
||||
List<KTypeProjection> list2 = list;
|
||||
ArrayList arrayList = new ArrayList(CollectionsKt.collectionSizeOrDefault(list2, 10));
|
||||
Iterator<T> it = list2.iterator();
|
||||
while (it.hasNext()) {
|
||||
arrayList.add(getJavaType((KTypeProjection) it.next()));
|
||||
}
|
||||
return new ParameterizedTypeImpl(cls, null, arrayList);
|
||||
}
|
||||
if (Modifier.isStatic(cls.getModifiers())) {
|
||||
Class<?> cls2 = declaringClass;
|
||||
List<KTypeProjection> list3 = list;
|
||||
ArrayList arrayList2 = new ArrayList(CollectionsKt.collectionSizeOrDefault(list3, 10));
|
||||
Iterator<T> it2 = list3.iterator();
|
||||
while (it2.hasNext()) {
|
||||
arrayList2.add(getJavaType((KTypeProjection) it2.next()));
|
||||
}
|
||||
return new ParameterizedTypeImpl(cls, cls2, arrayList2);
|
||||
}
|
||||
int length = cls.getTypeParameters().length;
|
||||
Type createPossiblyInnerType = createPossiblyInnerType(declaringClass, list.subList(length, list.size()));
|
||||
List<KTypeProjection> subList = list.subList(0, length);
|
||||
ArrayList arrayList3 = new ArrayList(CollectionsKt.collectionSizeOrDefault(subList, 10));
|
||||
Iterator<T> it3 = subList.iterator();
|
||||
while (it3.hasNext()) {
|
||||
arrayList3.add(getJavaType((KTypeProjection) it3.next()));
|
||||
}
|
||||
return new ParameterizedTypeImpl(cls, createPossiblyInnerType, arrayList3);
|
||||
}
|
||||
|
||||
private static final Type getJavaType(KTypeProjection kTypeProjection) {
|
||||
KVariance variance = kTypeProjection.getVariance();
|
||||
if (variance == null) {
|
||||
return WildcardTypeImpl.Companion.getSTAR();
|
||||
}
|
||||
KType type = kTypeProjection.getType();
|
||||
Intrinsics.checkNotNull(type);
|
||||
int i = WhenMappings.$EnumSwitchMapping$0[variance.ordinal()];
|
||||
if (i == 1) {
|
||||
return new WildcardTypeImpl(null, computeJavaType(type, true));
|
||||
}
|
||||
if (i == 2) {
|
||||
return computeJavaType(type, true);
|
||||
}
|
||||
if (i == 3) {
|
||||
return new WildcardTypeImpl(computeJavaType(type, true), null);
|
||||
}
|
||||
throw new NoWhenBranchMatchedException();
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final String typeToString(Type type) {
|
||||
String name;
|
||||
if (type instanceof Class) {
|
||||
Class cls = (Class) type;
|
||||
if (cls.isArray()) {
|
||||
Sequence generateSequence = SequencesKt.generateSequence(type, TypesJVMKt$typeToString$unwrap$1.INSTANCE);
|
||||
name = ((Class) SequencesKt.last(generateSequence)).getName() + StringsKt.repeat("[]", SequencesKt.count(generateSequence));
|
||||
} else {
|
||||
name = cls.getName();
|
||||
}
|
||||
Intrinsics.checkNotNullExpressionValue(name, "{\n if (type.isArr… } else type.name\n }");
|
||||
return name;
|
||||
}
|
||||
return type.toString();
|
||||
}
|
||||
}
|
94
02-Easy5/E5/sources/kotlin/reflect/WildcardTypeImpl.java
Normal file
94
02-Easy5/E5/sources/kotlin/reflect/WildcardTypeImpl.java
Normal file
@ -0,0 +1,94 @@
|
||||
package kotlin.reflect;
|
||||
|
||||
import java.lang.reflect.Type;
|
||||
import java.lang.reflect.WildcardType;
|
||||
import java.util.Arrays;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* compiled from: TypesJVM.kt */
|
||||
@Metadata(d1 = {"\u0000:\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u0011\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0003\b\u0003\u0018\u0000 \u00142\u00020\u00012\u00020\u0002:\u0001\u0014B\u0019\u0012\b\u0010\u0003\u001a\u0004\u0018\u00010\u0004\u0012\b\u0010\u0005\u001a\u0004\u0018\u00010\u0004¢\u0006\u0002\u0010\u0006J\u0013\u0010\u0007\u001a\u00020\b2\b\u0010\t\u001a\u0004\u0018\u00010\nH\u0096\u0002J\u0013\u0010\u000b\u001a\b\u0012\u0004\u0012\u00020\u00040\fH\u0016¢\u0006\u0002\u0010\rJ\b\u0010\u000e\u001a\u00020\u000fH\u0016J\u0013\u0010\u0010\u001a\b\u0012\u0004\u0012\u00020\u00040\fH\u0016¢\u0006\u0002\u0010\rJ\b\u0010\u0011\u001a\u00020\u0012H\u0016J\b\u0010\u0013\u001a\u00020\u000fH\u0016R\u0010\u0010\u0005\u001a\u0004\u0018\u00010\u0004X\u0082\u0004¢\u0006\u0002\n\u0000R\u0010\u0010\u0003\u001a\u0004\u0018\u00010\u0004X\u0082\u0004¢\u0006\u0002\n\u0000¨\u0006\u0015"}, d2 = {"Lkotlin/reflect/WildcardTypeImpl;", "Ljava/lang/reflect/WildcardType;", "Lkotlin/reflect/TypeImpl;", "upperBound", "Ljava/lang/reflect/Type;", "lowerBound", "(Ljava/lang/reflect/Type;Ljava/lang/reflect/Type;)V", "equals", "", "other", "", "getLowerBounds", "", "()[Ljava/lang/reflect/Type;", "getTypeName", "", "getUpperBounds", "hashCode", "", "toString", "Companion", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
final class WildcardTypeImpl implements WildcardType, TypeImpl {
|
||||
|
||||
/* renamed from: Companion, reason: from kotlin metadata */
|
||||
public static final Companion INSTANCE = new Companion(null);
|
||||
private static final WildcardTypeImpl STAR = new WildcardTypeImpl(null, null);
|
||||
private final Type lowerBound;
|
||||
private final Type upperBound;
|
||||
|
||||
@Override // java.lang.reflect.WildcardType
|
||||
public Type[] getLowerBounds() {
|
||||
Type type = this.lowerBound;
|
||||
return type == null ? new Type[0] : new Type[]{type};
|
||||
}
|
||||
|
||||
public WildcardTypeImpl(Type type, Type type2) {
|
||||
this.upperBound = type;
|
||||
this.lowerBound = type2;
|
||||
}
|
||||
|
||||
@Override // java.lang.reflect.WildcardType
|
||||
public Type[] getUpperBounds() {
|
||||
Type[] typeArr = new Type[1];
|
||||
Class cls = this.upperBound;
|
||||
if (cls == null) {
|
||||
}
|
||||
typeArr[0] = cls;
|
||||
return typeArr;
|
||||
}
|
||||
|
||||
@Override // java.lang.reflect.Type, kotlin.reflect.TypeImpl
|
||||
public String getTypeName() {
|
||||
String typeToString;
|
||||
String typeToString2;
|
||||
if (this.lowerBound != null) {
|
||||
StringBuilder sb = new StringBuilder("? super ");
|
||||
typeToString2 = TypesJVMKt.typeToString(this.lowerBound);
|
||||
sb.append(typeToString2);
|
||||
return sb.toString();
|
||||
}
|
||||
Type type = this.upperBound;
|
||||
if (type == null || Intrinsics.areEqual(type, Object.class)) {
|
||||
return "?";
|
||||
}
|
||||
StringBuilder sb2 = new StringBuilder("? extends ");
|
||||
typeToString = TypesJVMKt.typeToString(this.upperBound);
|
||||
sb2.append(typeToString);
|
||||
return sb2.toString();
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (other instanceof WildcardType) {
|
||||
WildcardType wildcardType = (WildcardType) other;
|
||||
if (Arrays.equals(getUpperBounds(), wildcardType.getUpperBounds()) && Arrays.equals(getLowerBounds(), wildcardType.getLowerBounds())) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return Arrays.hashCode(getUpperBounds()) ^ Arrays.hashCode(getLowerBounds());
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return getTypeName();
|
||||
}
|
||||
|
||||
/* compiled from: TypesJVM.kt */
|
||||
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u0011\u0010\u0003\u001a\u00020\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0007"}, d2 = {"Lkotlin/reflect/WildcardTypeImpl$Companion;", "", "()V", "STAR", "Lkotlin/reflect/WildcardTypeImpl;", "getSTAR", "()Lkotlin/reflect/WildcardTypeImpl;", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
public static final class Companion {
|
||||
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this();
|
||||
}
|
||||
|
||||
private Companion() {
|
||||
}
|
||||
|
||||
public final WildcardTypeImpl getSTAR() {
|
||||
return WildcardTypeImpl.STAR;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user