ADD week 5
This commit is contained in:
@ -0,0 +1,64 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import java.io.Serializable;
|
||||
import kotlin.reflect.KDeclarationContainer;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class AdaptedFunctionReference implements FunctionBase, Serializable {
|
||||
private final int arity;
|
||||
private final int flags;
|
||||
private final boolean isTopLevel;
|
||||
private final String name;
|
||||
private final Class owner;
|
||||
protected final Object receiver;
|
||||
private final String signature;
|
||||
|
||||
@Override // kotlin.jvm.internal.FunctionBase
|
||||
public int getArity() {
|
||||
return this.arity;
|
||||
}
|
||||
|
||||
public AdaptedFunctionReference(int i, Class cls, String str, String str2, int i2) {
|
||||
this(i, CallableReference.NO_RECEIVER, cls, str, str2, i2);
|
||||
}
|
||||
|
||||
public AdaptedFunctionReference(int i, Object obj, Class cls, String str, String str2, int i2) {
|
||||
this.receiver = obj;
|
||||
this.owner = cls;
|
||||
this.name = str;
|
||||
this.signature = str2;
|
||||
this.isTopLevel = (i2 & 1) == 1;
|
||||
this.arity = i;
|
||||
this.flags = i2 >> 1;
|
||||
}
|
||||
|
||||
public KDeclarationContainer getOwner() {
|
||||
Class cls = this.owner;
|
||||
if (cls == null) {
|
||||
return null;
|
||||
}
|
||||
return this.isTopLevel ? Reflection.getOrCreateKotlinPackage(cls) : Reflection.getOrCreateKotlinClass(cls);
|
||||
}
|
||||
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (!(obj instanceof AdaptedFunctionReference)) {
|
||||
return false;
|
||||
}
|
||||
AdaptedFunctionReference adaptedFunctionReference = (AdaptedFunctionReference) obj;
|
||||
return this.isTopLevel == adaptedFunctionReference.isTopLevel && this.arity == adaptedFunctionReference.arity && this.flags == adaptedFunctionReference.flags && Intrinsics.areEqual(this.receiver, adaptedFunctionReference.receiver) && Intrinsics.areEqual(this.owner, adaptedFunctionReference.owner) && this.name.equals(adaptedFunctionReference.name) && this.signature.equals(adaptedFunctionReference.signature);
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
Object obj = this.receiver;
|
||||
int hashCode = (obj != null ? obj.hashCode() : 0) * 31;
|
||||
Class cls = this.owner;
|
||||
return ((((((((((hashCode + (cls != null ? cls.hashCode() : 0)) * 31) + this.name.hashCode()) * 31) + this.signature.hashCode()) * 31) + (this.isTopLevel ? 1231 : 1237)) * 31) + this.arity) * 31) + this.flags;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return Reflection.renderLambdaToString(this);
|
||||
}
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import java.util.NoSuchElementException;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.collections.BooleanIterator;
|
||||
|
||||
/* compiled from: ArrayIterators.kt */
|
||||
@Metadata(d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0018\n\u0002\b\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\b\u0002\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004J\t\u0010\u0007\u001a\u00020\bH\u0096\u0002J\b\u0010\t\u001a\u00020\bH\u0016R\u000e\u0010\u0002\u001a\u00020\u0003X\u0082\u0004¢\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0006X\u0082\u000e¢\u0006\u0002\n\u0000¨\u0006\n"}, d2 = {"Lkotlin/jvm/internal/ArrayBooleanIterator;", "Lkotlin/collections/BooleanIterator;", "array", "", "([Z)V", "index", "", "hasNext", "", "nextBoolean", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
final class ArrayBooleanIterator extends BooleanIterator {
|
||||
private final boolean[] array;
|
||||
private int index;
|
||||
|
||||
public ArrayBooleanIterator(boolean[] array) {
|
||||
Intrinsics.checkNotNullParameter(array, "array");
|
||||
this.array = array;
|
||||
}
|
||||
|
||||
@Override // java.util.Iterator
|
||||
public boolean hasNext() {
|
||||
return this.index < this.array.length;
|
||||
}
|
||||
|
||||
@Override // kotlin.collections.BooleanIterator
|
||||
public boolean nextBoolean() {
|
||||
try {
|
||||
boolean[] zArr = this.array;
|
||||
int i = this.index;
|
||||
this.index = i + 1;
|
||||
return zArr[i];
|
||||
} catch (ArrayIndexOutOfBoundsException e) {
|
||||
this.index--;
|
||||
throw new NoSuchElementException(e.getMessage());
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import java.util.NoSuchElementException;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.collections.ByteIterator;
|
||||
|
||||
/* compiled from: ArrayIterators.kt */
|
||||
@Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0012\n\u0002\b\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0005\n\u0000\b\u0002\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004J\t\u0010\u0007\u001a\u00020\bH\u0096\u0002J\b\u0010\t\u001a\u00020\nH\u0016R\u000e\u0010\u0002\u001a\u00020\u0003X\u0082\u0004¢\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0006X\u0082\u000e¢\u0006\u0002\n\u0000¨\u0006\u000b"}, d2 = {"Lkotlin/jvm/internal/ArrayByteIterator;", "Lkotlin/collections/ByteIterator;", "array", "", "([B)V", "index", "", "hasNext", "", "nextByte", "", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
final class ArrayByteIterator extends ByteIterator {
|
||||
private final byte[] array;
|
||||
private int index;
|
||||
|
||||
public ArrayByteIterator(byte[] array) {
|
||||
Intrinsics.checkNotNullParameter(array, "array");
|
||||
this.array = array;
|
||||
}
|
||||
|
||||
@Override // java.util.Iterator
|
||||
public boolean hasNext() {
|
||||
return this.index < this.array.length;
|
||||
}
|
||||
|
||||
@Override // kotlin.collections.ByteIterator
|
||||
public byte nextByte() {
|
||||
try {
|
||||
byte[] bArr = this.array;
|
||||
int i = this.index;
|
||||
this.index = i + 1;
|
||||
return bArr[i];
|
||||
} catch (ArrayIndexOutOfBoundsException e) {
|
||||
this.index--;
|
||||
throw new NoSuchElementException(e.getMessage());
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import java.util.NoSuchElementException;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.collections.CharIterator;
|
||||
|
||||
/* compiled from: ArrayIterators.kt */
|
||||
@Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0019\n\u0002\b\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\f\n\u0000\b\u0002\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004J\t\u0010\u0007\u001a\u00020\bH\u0096\u0002J\b\u0010\t\u001a\u00020\nH\u0016R\u000e\u0010\u0002\u001a\u00020\u0003X\u0082\u0004¢\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0006X\u0082\u000e¢\u0006\u0002\n\u0000¨\u0006\u000b"}, d2 = {"Lkotlin/jvm/internal/ArrayCharIterator;", "Lkotlin/collections/CharIterator;", "array", "", "([C)V", "index", "", "hasNext", "", "nextChar", "", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
final class ArrayCharIterator extends CharIterator {
|
||||
private final char[] array;
|
||||
private int index;
|
||||
|
||||
public ArrayCharIterator(char[] array) {
|
||||
Intrinsics.checkNotNullParameter(array, "array");
|
||||
this.array = array;
|
||||
}
|
||||
|
||||
@Override // java.util.Iterator
|
||||
public boolean hasNext() {
|
||||
return this.index < this.array.length;
|
||||
}
|
||||
|
||||
@Override // kotlin.collections.CharIterator
|
||||
public char nextChar() {
|
||||
try {
|
||||
char[] cArr = this.array;
|
||||
int i = this.index;
|
||||
this.index = i + 1;
|
||||
return cArr[i];
|
||||
} catch (ArrayIndexOutOfBoundsException e) {
|
||||
this.index--;
|
||||
throw new NoSuchElementException(e.getMessage());
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import java.util.NoSuchElementException;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.collections.DoubleIterator;
|
||||
|
||||
/* compiled from: ArrayIterators.kt */
|
||||
@Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0013\n\u0002\b\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0006\n\u0000\b\u0002\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004J\t\u0010\u0007\u001a\u00020\bH\u0096\u0002J\b\u0010\t\u001a\u00020\nH\u0016R\u000e\u0010\u0002\u001a\u00020\u0003X\u0082\u0004¢\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0006X\u0082\u000e¢\u0006\u0002\n\u0000¨\u0006\u000b"}, d2 = {"Lkotlin/jvm/internal/ArrayDoubleIterator;", "Lkotlin/collections/DoubleIterator;", "array", "", "([D)V", "index", "", "hasNext", "", "nextDouble", "", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
final class ArrayDoubleIterator extends DoubleIterator {
|
||||
private final double[] array;
|
||||
private int index;
|
||||
|
||||
public ArrayDoubleIterator(double[] array) {
|
||||
Intrinsics.checkNotNullParameter(array, "array");
|
||||
this.array = array;
|
||||
}
|
||||
|
||||
@Override // java.util.Iterator
|
||||
public boolean hasNext() {
|
||||
return this.index < this.array.length;
|
||||
}
|
||||
|
||||
@Override // kotlin.collections.DoubleIterator
|
||||
public double nextDouble() {
|
||||
try {
|
||||
double[] dArr = this.array;
|
||||
int i = this.index;
|
||||
this.index = i + 1;
|
||||
return dArr[i];
|
||||
} catch (ArrayIndexOutOfBoundsException e) {
|
||||
this.index--;
|
||||
throw new NoSuchElementException(e.getMessage());
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import java.util.NoSuchElementException;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.collections.FloatIterator;
|
||||
|
||||
/* compiled from: ArrayIterators.kt */
|
||||
@Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0014\n\u0002\b\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0007\n\u0000\b\u0002\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004J\t\u0010\u0007\u001a\u00020\bH\u0096\u0002J\b\u0010\t\u001a\u00020\nH\u0016R\u000e\u0010\u0002\u001a\u00020\u0003X\u0082\u0004¢\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0006X\u0082\u000e¢\u0006\u0002\n\u0000¨\u0006\u000b"}, d2 = {"Lkotlin/jvm/internal/ArrayFloatIterator;", "Lkotlin/collections/FloatIterator;", "array", "", "([F)V", "index", "", "hasNext", "", "nextFloat", "", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
final class ArrayFloatIterator extends FloatIterator {
|
||||
private final float[] array;
|
||||
private int index;
|
||||
|
||||
public ArrayFloatIterator(float[] array) {
|
||||
Intrinsics.checkNotNullParameter(array, "array");
|
||||
this.array = array;
|
||||
}
|
||||
|
||||
@Override // java.util.Iterator
|
||||
public boolean hasNext() {
|
||||
return this.index < this.array.length;
|
||||
}
|
||||
|
||||
@Override // kotlin.collections.FloatIterator
|
||||
public float nextFloat() {
|
||||
try {
|
||||
float[] fArr = this.array;
|
||||
int i = this.index;
|
||||
this.index = i + 1;
|
||||
return fArr[i];
|
||||
} catch (ArrayIndexOutOfBoundsException e) {
|
||||
this.index--;
|
||||
throw new NoSuchElementException(e.getMessage());
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import java.util.NoSuchElementException;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.collections.IntIterator;
|
||||
|
||||
/* compiled from: ArrayIterators.kt */
|
||||
@Metadata(d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0015\n\u0002\b\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\b\u0002\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004J\t\u0010\u0007\u001a\u00020\bH\u0096\u0002J\b\u0010\t\u001a\u00020\u0006H\u0016R\u000e\u0010\u0002\u001a\u00020\u0003X\u0082\u0004¢\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0006X\u0082\u000e¢\u0006\u0002\n\u0000¨\u0006\n"}, d2 = {"Lkotlin/jvm/internal/ArrayIntIterator;", "Lkotlin/collections/IntIterator;", "array", "", "([I)V", "index", "", "hasNext", "", "nextInt", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
final class ArrayIntIterator extends IntIterator {
|
||||
private final int[] array;
|
||||
private int index;
|
||||
|
||||
public ArrayIntIterator(int[] array) {
|
||||
Intrinsics.checkNotNullParameter(array, "array");
|
||||
this.array = array;
|
||||
}
|
||||
|
||||
@Override // java.util.Iterator
|
||||
public boolean hasNext() {
|
||||
return this.index < this.array.length;
|
||||
}
|
||||
|
||||
@Override // kotlin.collections.IntIterator
|
||||
public int nextInt() {
|
||||
try {
|
||||
int[] iArr = this.array;
|
||||
int i = this.index;
|
||||
this.index = i + 1;
|
||||
return iArr[i];
|
||||
} catch (ArrayIndexOutOfBoundsException e) {
|
||||
this.index--;
|
||||
throw new NoSuchElementException(e.getMessage());
|
||||
}
|
||||
}
|
||||
}
|
46
02-Easy5/E5/sources/kotlin/jvm/internal/ArrayIterator.java
Normal file
46
02-Easy5/E5/sources/kotlin/jvm/internal/ArrayIterator.java
Normal file
@ -0,0 +1,46 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.NoSuchElementException;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.markers.KMappedMarker;
|
||||
|
||||
/* compiled from: ArrayIterator.kt */
|
||||
@Metadata(d1 = {"\u0000\"\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010(\n\u0000\n\u0002\u0010\u0011\n\u0002\b\u0005\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0003\b\u0002\u0018\u0000*\u0004\b\u0000\u0010\u00012\b\u0012\u0004\u0012\u0002H\u00010\u0002B\u0013\u0012\f\u0010\u0003\u001a\b\u0012\u0004\u0012\u00028\u00000\u0004¢\u0006\u0002\u0010\u0005J\t\u0010\u000b\u001a\u00020\fH\u0096\u0002J\u000e\u0010\r\u001a\u00028\u0000H\u0096\u0002¢\u0006\u0002\u0010\u000eR\u0019\u0010\u0003\u001a\b\u0012\u0004\u0012\u00028\u00000\u0004¢\u0006\n\n\u0002\u0010\b\u001a\u0004\b\u0006\u0010\u0007R\u000e\u0010\t\u001a\u00020\nX\u0082\u000e¢\u0006\u0002\n\u0000¨\u0006\u000f"}, d2 = {"Lkotlin/jvm/internal/ArrayIterator;", "T", "", "array", "", "([Ljava/lang/Object;)V", "getArray", "()[Ljava/lang/Object;", "[Ljava/lang/Object;", "index", "", "hasNext", "", "next", "()Ljava/lang/Object;", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
final class ArrayIterator<T> implements Iterator<T>, KMappedMarker {
|
||||
private final T[] array;
|
||||
private int index;
|
||||
|
||||
public final T[] getArray() {
|
||||
return this.array;
|
||||
}
|
||||
|
||||
@Override // java.util.Iterator
|
||||
public void remove() {
|
||||
throw new UnsupportedOperationException("Operation is not supported for read-only collection");
|
||||
}
|
||||
|
||||
public ArrayIterator(T[] array) {
|
||||
Intrinsics.checkNotNullParameter(array, "array");
|
||||
this.array = array;
|
||||
}
|
||||
|
||||
@Override // java.util.Iterator
|
||||
public boolean hasNext() {
|
||||
return this.index < this.array.length;
|
||||
}
|
||||
|
||||
@Override // java.util.Iterator
|
||||
public T next() {
|
||||
try {
|
||||
T[] tArr = this.array;
|
||||
int i = this.index;
|
||||
this.index = i + 1;
|
||||
return tArr[i];
|
||||
} catch (ArrayIndexOutOfBoundsException e) {
|
||||
this.index--;
|
||||
throw new NoSuchElementException(e.getMessage());
|
||||
}
|
||||
}
|
||||
}
|
14
02-Easy5/E5/sources/kotlin/jvm/internal/ArrayIteratorKt.java
Normal file
14
02-Easy5/E5/sources/kotlin/jvm/internal/ArrayIteratorKt.java
Normal file
@ -0,0 +1,14 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import java.util.Iterator;
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: ArrayIterator.kt */
|
||||
@Metadata(d1 = {"\u0000\u0012\n\u0000\n\u0002\u0010(\n\u0002\b\u0002\n\u0002\u0010\u0011\n\u0002\b\u0002\u001a%\u0010\u0000\u001a\b\u0012\u0004\u0012\u0002H\u00020\u0001\"\u0004\b\u0000\u0010\u00022\f\u0010\u0003\u001a\b\u0012\u0004\u0012\u0002H\u00020\u0004¢\u0006\u0002\u0010\u0005¨\u0006\u0006"}, d2 = {"iterator", "", "T", "array", "", "([Ljava/lang/Object;)Ljava/util/Iterator;", "kotlin-stdlib"}, k = 2, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class ArrayIteratorKt {
|
||||
public static final <T> Iterator<T> iterator(T[] array) {
|
||||
Intrinsics.checkNotNullParameter(array, "array");
|
||||
return new ArrayIterator(array);
|
||||
}
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.collections.BooleanIterator;
|
||||
import kotlin.collections.ByteIterator;
|
||||
import kotlin.collections.CharIterator;
|
||||
import kotlin.collections.DoubleIterator;
|
||||
import kotlin.collections.FloatIterator;
|
||||
import kotlin.collections.IntIterator;
|
||||
import kotlin.collections.LongIterator;
|
||||
import kotlin.collections.ShortIterator;
|
||||
|
||||
/* compiled from: ArrayIterators.kt */
|
||||
@Metadata(d1 = {"\u0000F\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0018\n\u0002\u0018\u0002\n\u0002\u0010\u0012\n\u0002\u0018\u0002\n\u0002\u0010\u0019\n\u0002\u0018\u0002\n\u0002\u0010\u0013\n\u0002\u0018\u0002\n\u0002\u0010\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0015\n\u0002\u0018\u0002\n\u0002\u0010\u0016\n\u0002\u0018\u0002\n\u0002\u0010\u0017\n\u0000\u001a\u000e\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u0003\u001a\u000e\u0010\u0000\u001a\u00020\u00042\u0006\u0010\u0002\u001a\u00020\u0005\u001a\u000e\u0010\u0000\u001a\u00020\u00062\u0006\u0010\u0002\u001a\u00020\u0007\u001a\u000e\u0010\u0000\u001a\u00020\b2\u0006\u0010\u0002\u001a\u00020\t\u001a\u000e\u0010\u0000\u001a\u00020\n2\u0006\u0010\u0002\u001a\u00020\u000b\u001a\u000e\u0010\u0000\u001a\u00020\f2\u0006\u0010\u0002\u001a\u00020\r\u001a\u000e\u0010\u0000\u001a\u00020\u000e2\u0006\u0010\u0002\u001a\u00020\u000f\u001a\u000e\u0010\u0000\u001a\u00020\u00102\u0006\u0010\u0002\u001a\u00020\u0011¨\u0006\u0012"}, d2 = {"iterator", "Lkotlin/collections/BooleanIterator;", "array", "", "Lkotlin/collections/ByteIterator;", "", "Lkotlin/collections/CharIterator;", "", "Lkotlin/collections/DoubleIterator;", "", "Lkotlin/collections/FloatIterator;", "", "Lkotlin/collections/IntIterator;", "", "Lkotlin/collections/LongIterator;", "", "Lkotlin/collections/ShortIterator;", "", "kotlin-stdlib"}, k = 2, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class ArrayIteratorsKt {
|
||||
public static final ByteIterator iterator(byte[] array) {
|
||||
Intrinsics.checkNotNullParameter(array, "array");
|
||||
return new ArrayByteIterator(array);
|
||||
}
|
||||
|
||||
public static final CharIterator iterator(char[] array) {
|
||||
Intrinsics.checkNotNullParameter(array, "array");
|
||||
return new ArrayCharIterator(array);
|
||||
}
|
||||
|
||||
public static final ShortIterator iterator(short[] array) {
|
||||
Intrinsics.checkNotNullParameter(array, "array");
|
||||
return new ArrayShortIterator(array);
|
||||
}
|
||||
|
||||
public static final IntIterator iterator(int[] array) {
|
||||
Intrinsics.checkNotNullParameter(array, "array");
|
||||
return new ArrayIntIterator(array);
|
||||
}
|
||||
|
||||
public static final LongIterator iterator(long[] array) {
|
||||
Intrinsics.checkNotNullParameter(array, "array");
|
||||
return new ArrayLongIterator(array);
|
||||
}
|
||||
|
||||
public static final FloatIterator iterator(float[] array) {
|
||||
Intrinsics.checkNotNullParameter(array, "array");
|
||||
return new ArrayFloatIterator(array);
|
||||
}
|
||||
|
||||
public static final DoubleIterator iterator(double[] array) {
|
||||
Intrinsics.checkNotNullParameter(array, "array");
|
||||
return new ArrayDoubleIterator(array);
|
||||
}
|
||||
|
||||
public static final BooleanIterator iterator(boolean[] array) {
|
||||
Intrinsics.checkNotNullParameter(array, "array");
|
||||
return new ArrayBooleanIterator(array);
|
||||
}
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import java.util.NoSuchElementException;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.collections.LongIterator;
|
||||
|
||||
/* compiled from: ArrayIterators.kt */
|
||||
@Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0016\n\u0002\b\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\t\n\u0000\b\u0002\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004J\t\u0010\u0007\u001a\u00020\bH\u0096\u0002J\b\u0010\t\u001a\u00020\nH\u0016R\u000e\u0010\u0002\u001a\u00020\u0003X\u0082\u0004¢\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0006X\u0082\u000e¢\u0006\u0002\n\u0000¨\u0006\u000b"}, d2 = {"Lkotlin/jvm/internal/ArrayLongIterator;", "Lkotlin/collections/LongIterator;", "array", "", "([J)V", "index", "", "hasNext", "", "nextLong", "", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
final class ArrayLongIterator extends LongIterator {
|
||||
private final long[] array;
|
||||
private int index;
|
||||
|
||||
public ArrayLongIterator(long[] array) {
|
||||
Intrinsics.checkNotNullParameter(array, "array");
|
||||
this.array = array;
|
||||
}
|
||||
|
||||
@Override // java.util.Iterator
|
||||
public boolean hasNext() {
|
||||
return this.index < this.array.length;
|
||||
}
|
||||
|
||||
@Override // kotlin.collections.LongIterator
|
||||
public long nextLong() {
|
||||
try {
|
||||
long[] jArr = this.array;
|
||||
int i = this.index;
|
||||
this.index = i + 1;
|
||||
return jArr[i];
|
||||
} catch (ArrayIndexOutOfBoundsException e) {
|
||||
this.index--;
|
||||
throw new NoSuchElementException(e.getMessage());
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import java.util.NoSuchElementException;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.collections.ShortIterator;
|
||||
|
||||
/* compiled from: ArrayIterators.kt */
|
||||
@Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0017\n\u0002\b\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\n\n\u0000\b\u0002\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004J\t\u0010\u0007\u001a\u00020\bH\u0096\u0002J\b\u0010\t\u001a\u00020\nH\u0016R\u000e\u0010\u0002\u001a\u00020\u0003X\u0082\u0004¢\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0006X\u0082\u000e¢\u0006\u0002\n\u0000¨\u0006\u000b"}, d2 = {"Lkotlin/jvm/internal/ArrayShortIterator;", "Lkotlin/collections/ShortIterator;", "array", "", "([S)V", "index", "", "hasNext", "", "nextShort", "", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
final class ArrayShortIterator extends ShortIterator {
|
||||
private final short[] array;
|
||||
private int index;
|
||||
|
||||
public ArrayShortIterator(short[] array) {
|
||||
Intrinsics.checkNotNullParameter(array, "array");
|
||||
this.array = array;
|
||||
}
|
||||
|
||||
@Override // java.util.Iterator
|
||||
public boolean hasNext() {
|
||||
return this.index < this.array.length;
|
||||
}
|
||||
|
||||
@Override // kotlin.collections.ShortIterator
|
||||
public short nextShort() {
|
||||
try {
|
||||
short[] sArr = this.array;
|
||||
int i = this.index;
|
||||
this.index = i + 1;
|
||||
return sArr[i];
|
||||
} catch (ArrayIndexOutOfBoundsException e) {
|
||||
this.index--;
|
||||
throw new NoSuchElementException(e.getMessage());
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: PrimitiveCompanionObjects.kt */
|
||||
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\bÁ\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002¨\u0006\u0003"}, d2 = {"Lkotlin/jvm/internal/BooleanCompanionObject;", "", "()V", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class BooleanCompanionObject {
|
||||
public static final BooleanCompanionObject INSTANCE = new BooleanCompanionObject();
|
||||
|
||||
private BooleanCompanionObject() {
|
||||
}
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: PrimitiveSpreadBuilders.kt */
|
||||
@Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0018\n\u0000\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0003\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001B\r\u0012\u0006\u0010\u0003\u001a\u00020\u0004¢\u0006\u0002\u0010\u0005J\u000e\u0010\u0007\u001a\u00020\b2\u0006\u0010\t\u001a\u00020\nJ\u0006\u0010\u000b\u001a\u00020\u0002J\f\u0010\f\u001a\u00020\u0004*\u00020\u0002H\u0014R\u000e\u0010\u0006\u001a\u00020\u0002X\u0082\u0004¢\u0006\u0002\n\u0000¨\u0006\r"}, d2 = {"Lkotlin/jvm/internal/BooleanSpreadBuilder;", "Lkotlin/jvm/internal/PrimitiveSpreadBuilder;", "", "size", "", "(I)V", "values", "add", "", "value", "", "toArray", "getSize", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class BooleanSpreadBuilder extends PrimitiveSpreadBuilder<boolean[]> {
|
||||
private final boolean[] values;
|
||||
|
||||
public BooleanSpreadBuilder(int i) {
|
||||
super(i);
|
||||
this.values = new boolean[i];
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: protected */
|
||||
@Override // kotlin.jvm.internal.PrimitiveSpreadBuilder
|
||||
public int getSize(boolean[] zArr) {
|
||||
Intrinsics.checkNotNullParameter(zArr, "<this>");
|
||||
return zArr.length;
|
||||
}
|
||||
|
||||
public final void add(boolean value) {
|
||||
boolean[] zArr = this.values;
|
||||
int position = getPosition();
|
||||
setPosition(position + 1);
|
||||
zArr[position] = value;
|
||||
}
|
||||
|
||||
public final boolean[] toArray() {
|
||||
return toArray(this.values, new boolean[size()]);
|
||||
}
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: PrimitiveCompanionObjects.kt */
|
||||
@Metadata(d1 = {"\u0000\u001c\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u0005\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0004\bÀ\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u000e\u0010\u0003\u001a\u00020\u0004X\u0086T¢\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0004X\u0086T¢\u0006\u0002\n\u0000R\u0016\u0010\u0006\u001a\u00020\u00078\u0006X\u0087T¢\u0006\b\n\u0000\u0012\u0004\b\b\u0010\u0002R\u0016\u0010\t\u001a\u00020\u00078\u0006X\u0087T¢\u0006\b\n\u0000\u0012\u0004\b\n\u0010\u0002¨\u0006\u000b"}, d2 = {"Lkotlin/jvm/internal/ByteCompanionObject;", "", "()V", "MAX_VALUE", "", "MIN_VALUE", "SIZE_BITS", "", "getSIZE_BITS$annotations", "SIZE_BYTES", "getSIZE_BYTES$annotations", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class ByteCompanionObject {
|
||||
public static final ByteCompanionObject INSTANCE = new ByteCompanionObject();
|
||||
public static final byte MAX_VALUE = Byte.MAX_VALUE;
|
||||
public static final byte MIN_VALUE = Byte.MIN_VALUE;
|
||||
public static final int SIZE_BITS = 8;
|
||||
public static final int SIZE_BYTES = 1;
|
||||
|
||||
public static /* synthetic */ void getSIZE_BITS$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void getSIZE_BYTES$annotations() {
|
||||
}
|
||||
|
||||
private ByteCompanionObject() {
|
||||
}
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: PrimitiveSpreadBuilders.kt */
|
||||
@Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0012\n\u0000\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\u0005\n\u0002\b\u0003\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001B\r\u0012\u0006\u0010\u0003\u001a\u00020\u0004¢\u0006\u0002\u0010\u0005J\u000e\u0010\u0007\u001a\u00020\b2\u0006\u0010\t\u001a\u00020\nJ\u0006\u0010\u000b\u001a\u00020\u0002J\f\u0010\f\u001a\u00020\u0004*\u00020\u0002H\u0014R\u000e\u0010\u0006\u001a\u00020\u0002X\u0082\u0004¢\u0006\u0002\n\u0000¨\u0006\r"}, d2 = {"Lkotlin/jvm/internal/ByteSpreadBuilder;", "Lkotlin/jvm/internal/PrimitiveSpreadBuilder;", "", "size", "", "(I)V", "values", "add", "", "value", "", "toArray", "getSize", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class ByteSpreadBuilder extends PrimitiveSpreadBuilder<byte[]> {
|
||||
private final byte[] values;
|
||||
|
||||
public ByteSpreadBuilder(int i) {
|
||||
super(i);
|
||||
this.values = new byte[i];
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: protected */
|
||||
@Override // kotlin.jvm.internal.PrimitiveSpreadBuilder
|
||||
public int getSize(byte[] bArr) {
|
||||
Intrinsics.checkNotNullParameter(bArr, "<this>");
|
||||
return bArr.length;
|
||||
}
|
||||
|
||||
public final void add(byte value) {
|
||||
byte[] bArr = this.values;
|
||||
int position = getPosition();
|
||||
setPosition(position + 1);
|
||||
bArr[position] = value;
|
||||
}
|
||||
|
||||
public final byte[] toArray() {
|
||||
return toArray(this.values, new byte[size()]);
|
||||
}
|
||||
}
|
148
02-Easy5/E5/sources/kotlin/jvm/internal/CallableReference.java
Normal file
148
02-Easy5/E5/sources/kotlin/jvm/internal/CallableReference.java
Normal file
@ -0,0 +1,148 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import java.io.ObjectStreamException;
|
||||
import java.io.Serializable;
|
||||
import java.lang.annotation.Annotation;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import kotlin.jvm.KotlinReflectionNotSupportedError;
|
||||
import kotlin.reflect.KCallable;
|
||||
import kotlin.reflect.KDeclarationContainer;
|
||||
import kotlin.reflect.KParameter;
|
||||
import kotlin.reflect.KType;
|
||||
import kotlin.reflect.KTypeParameter;
|
||||
import kotlin.reflect.KVisibility;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class CallableReference implements KCallable, Serializable {
|
||||
public static final Object NO_RECEIVER = NoReceiver.INSTANCE;
|
||||
private final boolean isTopLevel;
|
||||
private final String name;
|
||||
private final Class owner;
|
||||
protected final Object receiver;
|
||||
private transient KCallable reflected;
|
||||
private final String signature;
|
||||
|
||||
protected abstract KCallable computeReflected();
|
||||
|
||||
public Object getBoundReceiver() {
|
||||
return this.receiver;
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KCallable
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public String getSignature() {
|
||||
return this.signature;
|
||||
}
|
||||
|
||||
private static class NoReceiver implements Serializable {
|
||||
private static final NoReceiver INSTANCE = new NoReceiver();
|
||||
|
||||
private Object readResolve() throws ObjectStreamException {
|
||||
return INSTANCE;
|
||||
}
|
||||
|
||||
private NoReceiver() {
|
||||
}
|
||||
}
|
||||
|
||||
public CallableReference() {
|
||||
this(NO_RECEIVER);
|
||||
}
|
||||
|
||||
protected CallableReference(Object obj) {
|
||||
this(obj, null, null, null, false);
|
||||
}
|
||||
|
||||
protected CallableReference(Object obj, Class cls, String str, String str2, boolean z) {
|
||||
this.receiver = obj;
|
||||
this.owner = cls;
|
||||
this.name = str;
|
||||
this.signature = str2;
|
||||
this.isTopLevel = z;
|
||||
}
|
||||
|
||||
public KCallable compute() {
|
||||
KCallable kCallable = this.reflected;
|
||||
if (kCallable != null) {
|
||||
return kCallable;
|
||||
}
|
||||
KCallable computeReflected = computeReflected();
|
||||
this.reflected = computeReflected;
|
||||
return computeReflected;
|
||||
}
|
||||
|
||||
protected KCallable getReflected() {
|
||||
KCallable compute = compute();
|
||||
if (compute != this) {
|
||||
return compute;
|
||||
}
|
||||
throw new KotlinReflectionNotSupportedError();
|
||||
}
|
||||
|
||||
public KDeclarationContainer getOwner() {
|
||||
Class cls = this.owner;
|
||||
if (cls == null) {
|
||||
return null;
|
||||
}
|
||||
return this.isTopLevel ? Reflection.getOrCreateKotlinPackage(cls) : Reflection.getOrCreateKotlinClass(cls);
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KCallable
|
||||
public List<KParameter> getParameters() {
|
||||
return getReflected().getParameters();
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KCallable
|
||||
public KType getReturnType() {
|
||||
return getReflected().getReturnType();
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KAnnotatedElement
|
||||
public List<Annotation> getAnnotations() {
|
||||
return getReflected().getAnnotations();
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KCallable
|
||||
public List<KTypeParameter> getTypeParameters() {
|
||||
return getReflected().getTypeParameters();
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KCallable
|
||||
public Object call(Object... objArr) {
|
||||
return getReflected().call(objArr);
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KCallable
|
||||
public Object callBy(Map map) {
|
||||
return getReflected().callBy(map);
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KCallable
|
||||
public KVisibility getVisibility() {
|
||||
return getReflected().getVisibility();
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KCallable
|
||||
public boolean isFinal() {
|
||||
return getReflected().isFinal();
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KCallable
|
||||
public boolean isOpen() {
|
||||
return getReflected().isOpen();
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KCallable
|
||||
public boolean isAbstract() {
|
||||
return getReflected().isAbstract();
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KCallable
|
||||
public boolean isSuspend() {
|
||||
return getReflected().isSuspend();
|
||||
}
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: PrimitiveCompanionObjects.kt */
|
||||
@Metadata(d1 = {"\u0000\u001c\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\f\n\u0002\b\n\n\u0002\u0010\b\n\u0002\b\u0004\bÀ\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u000e\u0010\u0003\u001a\u00020\u0004X\u0086T¢\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0004X\u0086T¢\u0006\u0002\n\u0000R\u000e\u0010\u0006\u001a\u00020\u0004X\u0086T¢\u0006\u0002\n\u0000R\u0016\u0010\u0007\u001a\u00020\u00048\u0006X\u0087T¢\u0006\b\n\u0000\u0012\u0004\b\b\u0010\u0002R\u000e\u0010\t\u001a\u00020\u0004X\u0086T¢\u0006\u0002\n\u0000R\u000e\u0010\n\u001a\u00020\u0004X\u0086T¢\u0006\u0002\n\u0000R\u000e\u0010\u000b\u001a\u00020\u0004X\u0086T¢\u0006\u0002\n\u0000R\u0016\u0010\f\u001a\u00020\u00048\u0006X\u0087T¢\u0006\b\n\u0000\u0012\u0004\b\r\u0010\u0002R\u0016\u0010\u000e\u001a\u00020\u000f8\u0006X\u0087T¢\u0006\b\n\u0000\u0012\u0004\b\u0010\u0010\u0002R\u0016\u0010\u0011\u001a\u00020\u000f8\u0006X\u0087T¢\u0006\b\n\u0000\u0012\u0004\b\u0012\u0010\u0002¨\u0006\u0013"}, d2 = {"Lkotlin/jvm/internal/CharCompanionObject;", "", "()V", "MAX_HIGH_SURROGATE", "", "MAX_LOW_SURROGATE", "MAX_SURROGATE", "MAX_VALUE", "getMAX_VALUE$annotations", "MIN_HIGH_SURROGATE", "MIN_LOW_SURROGATE", "MIN_SURROGATE", "MIN_VALUE", "getMIN_VALUE$annotations", "SIZE_BITS", "", "getSIZE_BITS$annotations", "SIZE_BYTES", "getSIZE_BYTES$annotations", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class CharCompanionObject {
|
||||
public static final CharCompanionObject INSTANCE = new CharCompanionObject();
|
||||
public static final char MAX_HIGH_SURROGATE = 56319;
|
||||
public static final char MAX_LOW_SURROGATE = 57343;
|
||||
public static final char MAX_SURROGATE = 57343;
|
||||
public static final char MAX_VALUE = 65535;
|
||||
public static final char MIN_HIGH_SURROGATE = 55296;
|
||||
public static final char MIN_LOW_SURROGATE = 56320;
|
||||
public static final char MIN_SURROGATE = 55296;
|
||||
public static final char MIN_VALUE = 0;
|
||||
public static final int SIZE_BITS = 16;
|
||||
public static final int SIZE_BYTES = 2;
|
||||
|
||||
public static /* synthetic */ void getMAX_VALUE$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void getMIN_VALUE$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void getSIZE_BITS$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void getSIZE_BYTES$annotations() {
|
||||
}
|
||||
|
||||
private CharCompanionObject() {
|
||||
}
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: PrimitiveSpreadBuilders.kt */
|
||||
@Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0019\n\u0000\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\f\n\u0002\b\u0003\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001B\r\u0012\u0006\u0010\u0003\u001a\u00020\u0004¢\u0006\u0002\u0010\u0005J\u000e\u0010\u0007\u001a\u00020\b2\u0006\u0010\t\u001a\u00020\nJ\u0006\u0010\u000b\u001a\u00020\u0002J\f\u0010\f\u001a\u00020\u0004*\u00020\u0002H\u0014R\u000e\u0010\u0006\u001a\u00020\u0002X\u0082\u0004¢\u0006\u0002\n\u0000¨\u0006\r"}, d2 = {"Lkotlin/jvm/internal/CharSpreadBuilder;", "Lkotlin/jvm/internal/PrimitiveSpreadBuilder;", "", "size", "", "(I)V", "values", "add", "", "value", "", "toArray", "getSize", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class CharSpreadBuilder extends PrimitiveSpreadBuilder<char[]> {
|
||||
private final char[] values;
|
||||
|
||||
public CharSpreadBuilder(int i) {
|
||||
super(i);
|
||||
this.values = new char[i];
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: protected */
|
||||
@Override // kotlin.jvm.internal.PrimitiveSpreadBuilder
|
||||
public int getSize(char[] cArr) {
|
||||
Intrinsics.checkNotNullParameter(cArr, "<this>");
|
||||
return cArr.length;
|
||||
}
|
||||
|
||||
public final void add(char value) {
|
||||
char[] cArr = this.values;
|
||||
int position = getPosition();
|
||||
setPosition(position + 1);
|
||||
cArr[position] = value;
|
||||
}
|
||||
|
||||
public final char[] toArray() {
|
||||
return toArray(this.values, new char[size()]);
|
||||
}
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.reflect.KDeclarationContainer;
|
||||
|
||||
/* compiled from: ClassBasedDeclarationContainer.kt */
|
||||
@Metadata(d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\bf\u0018\u00002\u00020\u0001R\u0016\u0010\u0002\u001a\u0006\u0012\u0002\b\u00030\u0003X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0004\u0010\u0005¨\u0006\u0006"}, d2 = {"Lkotlin/jvm/internal/ClassBasedDeclarationContainer;", "Lkotlin/reflect/KDeclarationContainer;", "jClass", "Ljava/lang/Class;", "getJClass", "()Ljava/lang/Class;", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface ClassBasedDeclarationContainer extends KDeclarationContainer {
|
||||
Class<?> getJClass();
|
||||
}
|
467
02-Easy5/E5/sources/kotlin/jvm/internal/ClassReference.java
Normal file
467
02-Easy5/E5/sources/kotlin/jvm/internal/ClassReference.java
Normal file
File diff suppressed because one or more lines are too long
152
02-Easy5/E5/sources/kotlin/jvm/internal/CollectionToArray.java
Normal file
152
02-Easy5/E5/sources/kotlin/jvm/internal/CollectionToArray.java
Normal file
@ -0,0 +1,152 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import java.lang.reflect.Array;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.Iterator;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.functions.Function0;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
import kotlin.jvm.functions.Function2;
|
||||
|
||||
/* compiled from: CollectionToArray.kt */
|
||||
@Metadata(d1 = {"\u00002\n\u0000\n\u0002\u0010\u0011\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u001e\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\u001a#\u0010\u0006\u001a\n\u0012\u0006\u0012\u0004\u0018\u00010\u00020\u00012\n\u0010\u0007\u001a\u0006\u0012\u0002\b\u00030\bH\u0007¢\u0006\u0004\b\t\u0010\n\u001a5\u0010\u0006\u001a\n\u0012\u0006\u0012\u0004\u0018\u00010\u00020\u00012\n\u0010\u0007\u001a\u0006\u0012\u0002\b\u00030\b2\u0010\u0010\u000b\u001a\f\u0012\u0006\u0012\u0004\u0018\u00010\u0002\u0018\u00010\u0001H\u0007¢\u0006\u0004\b\t\u0010\f\u001a~\u0010\r\u001a\n\u0012\u0006\u0012\u0004\u0018\u00010\u00020\u00012\n\u0010\u0007\u001a\u0006\u0012\u0002\b\u00030\b2\u0014\u0010\u000e\u001a\u0010\u0012\f\u0012\n\u0012\u0006\u0012\u0004\u0018\u00010\u00020\u00010\u000f2\u001a\u0010\u0010\u001a\u0016\u0012\u0004\u0012\u00020\u0005\u0012\f\u0012\n\u0012\u0006\u0012\u0004\u0018\u00010\u00020\u00010\u00112(\u0010\u0012\u001a$\u0012\f\u0012\n\u0012\u0006\u0012\u0004\u0018\u00010\u00020\u0001\u0012\u0004\u0012\u00020\u0005\u0012\f\u0012\n\u0012\u0006\u0012\u0004\u0018\u00010\u00020\u00010\u0013H\u0082\b¢\u0006\u0002\u0010\u0014\"\u0018\u0010\u0000\u001a\n\u0012\u0006\u0012\u0004\u0018\u00010\u00020\u0001X\u0082\u0004¢\u0006\u0004\n\u0002\u0010\u0003\"\u000e\u0010\u0004\u001a\u00020\u0005X\u0082T¢\u0006\u0002\n\u0000¨\u0006\u0015"}, d2 = {"EMPTY", "", "", "[Ljava/lang/Object;", "MAX_SIZE", "", "collectionToArray", "collection", "", "toArray", "(Ljava/util/Collection;)[Ljava/lang/Object;", "a", "(Ljava/util/Collection;[Ljava/lang/Object;)[Ljava/lang/Object;", "toArrayImpl", "empty", "Lkotlin/Function0;", "alloc", "Lkotlin/Function1;", "trim", "Lkotlin/Function2;", "(Ljava/util/Collection;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function2;)[Ljava/lang/Object;", "kotlin-stdlib"}, k = 2, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class CollectionToArray {
|
||||
private static final Object[] EMPTY = new Object[0];
|
||||
private static final int MAX_SIZE = 2147483645;
|
||||
|
||||
public static final Object[] toArray(Collection<?> collection, Object[] objArr) {
|
||||
Object[] objArr2;
|
||||
Intrinsics.checkNotNullParameter(collection, "collection");
|
||||
objArr.getClass();
|
||||
int size = collection.size();
|
||||
int i = 0;
|
||||
if (size == 0) {
|
||||
if (objArr.length <= 0) {
|
||||
return objArr;
|
||||
}
|
||||
objArr[0] = null;
|
||||
return objArr;
|
||||
}
|
||||
Iterator<?> it = collection.iterator();
|
||||
if (!it.hasNext()) {
|
||||
if (objArr.length <= 0) {
|
||||
return objArr;
|
||||
}
|
||||
objArr[0] = null;
|
||||
return objArr;
|
||||
}
|
||||
if (size <= objArr.length) {
|
||||
objArr2 = objArr;
|
||||
} else {
|
||||
Object newInstance = Array.newInstance(objArr.getClass().getComponentType(), size);
|
||||
Intrinsics.checkNotNull(newInstance, "null cannot be cast to non-null type kotlin.Array<kotlin.Any?>");
|
||||
objArr2 = (Object[]) newInstance;
|
||||
}
|
||||
while (true) {
|
||||
int i2 = i + 1;
|
||||
objArr2[i] = it.next();
|
||||
if (i2 >= objArr2.length) {
|
||||
if (!it.hasNext()) {
|
||||
return objArr2;
|
||||
}
|
||||
int i3 = ((i2 * 3) + 1) >>> 1;
|
||||
if (i3 <= i2) {
|
||||
i3 = MAX_SIZE;
|
||||
if (i2 >= MAX_SIZE) {
|
||||
throw new OutOfMemoryError();
|
||||
}
|
||||
}
|
||||
objArr2 = Arrays.copyOf(objArr2, i3);
|
||||
Intrinsics.checkNotNullExpressionValue(objArr2, "copyOf(result, newSize)");
|
||||
} else if (!it.hasNext()) {
|
||||
if (objArr2 == objArr) {
|
||||
objArr[i2] = null;
|
||||
return objArr;
|
||||
}
|
||||
Object[] copyOf = Arrays.copyOf(objArr2, i2);
|
||||
Intrinsics.checkNotNullExpressionValue(copyOf, "copyOf(result, size)");
|
||||
return copyOf;
|
||||
}
|
||||
i = i2;
|
||||
}
|
||||
}
|
||||
|
||||
/* JADX WARN: Type inference failed for: r3v4, types: [java.lang.Object, java.lang.Object[]] */
|
||||
/* JADX WARN: Type inference failed for: r3v5 */
|
||||
/* JADX WARN: Type inference failed for: r3v6, types: [java.lang.Object, java.lang.Object[]] */
|
||||
/* JADX WARN: Type inference failed for: r3v7 */
|
||||
/* JADX WARN: Type inference failed for: r3v8 */
|
||||
private static final Object[] toArrayImpl(Collection<?> collection, Function0<Object[]> function0, Function1<? super Integer, Object[]> function1, Function2<? super Object[], ? super Integer, Object[]> function2) {
|
||||
int size = collection.size();
|
||||
if (size == 0) {
|
||||
return function0.invoke();
|
||||
}
|
||||
Iterator<?> it = collection.iterator();
|
||||
if (!it.hasNext()) {
|
||||
return function0.invoke();
|
||||
}
|
||||
Object[] invoke = function1.invoke(Integer.valueOf(size));
|
||||
int i = 0;
|
||||
?? r3 = invoke;
|
||||
while (true) {
|
||||
int i2 = i + 1;
|
||||
r3[i] = it.next();
|
||||
if (i2 >= r3.length) {
|
||||
if (!it.hasNext()) {
|
||||
return r3;
|
||||
}
|
||||
int i3 = ((i2 * 3) + 1) >>> 1;
|
||||
if (i3 <= i2) {
|
||||
i3 = MAX_SIZE;
|
||||
if (i2 >= MAX_SIZE) {
|
||||
throw new OutOfMemoryError();
|
||||
}
|
||||
}
|
||||
r3 = Arrays.copyOf((Object[]) r3, i3);
|
||||
Intrinsics.checkNotNullExpressionValue(r3, "copyOf(result, newSize)");
|
||||
} else if (!it.hasNext()) {
|
||||
return function2.invoke(r3, Integer.valueOf(i2));
|
||||
}
|
||||
i = i2;
|
||||
r3 = r3;
|
||||
}
|
||||
}
|
||||
|
||||
public static final Object[] toArray(Collection<?> collection) {
|
||||
Intrinsics.checkNotNullParameter(collection, "collection");
|
||||
int size = collection.size();
|
||||
if (size != 0) {
|
||||
Iterator<?> it = collection.iterator();
|
||||
if (it.hasNext()) {
|
||||
Object[] objArr = new Object[size];
|
||||
int i = 0;
|
||||
while (true) {
|
||||
int i2 = i + 1;
|
||||
objArr[i] = it.next();
|
||||
if (i2 >= objArr.length) {
|
||||
if (!it.hasNext()) {
|
||||
return objArr;
|
||||
}
|
||||
int i3 = ((i2 * 3) + 1) >>> 1;
|
||||
if (i3 <= i2) {
|
||||
i3 = MAX_SIZE;
|
||||
if (i2 >= MAX_SIZE) {
|
||||
throw new OutOfMemoryError();
|
||||
}
|
||||
}
|
||||
objArr = Arrays.copyOf(objArr, i3);
|
||||
Intrinsics.checkNotNullExpressionValue(objArr, "copyOf(result, newSize)");
|
||||
} else if (!it.hasNext()) {
|
||||
Object[] copyOf = Arrays.copyOf(objArr, i2);
|
||||
Intrinsics.checkNotNullExpressionValue(copyOf, "copyOf(result, size)");
|
||||
return copyOf;
|
||||
}
|
||||
i = i2;
|
||||
}
|
||||
}
|
||||
}
|
||||
return EMPTY;
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class DefaultConstructorMarker {
|
||||
private DefaultConstructorMarker() {
|
||||
}
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: PrimitiveCompanionObjects.kt */
|
||||
@Metadata(d1 = {"\u0000\u001c\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u0006\n\u0002\b\n\n\u0002\u0010\b\n\u0002\b\t\bÀ\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u0006\u0010\u0013\u001a\u00020\u0004J\u0006\u0010\u0014\u001a\u00020\u0004J\u0006\u0010\u0015\u001a\u00020\u0004J\u0006\u0010\u0016\u001a\u00020\u0004J\u0006\u0010\u0017\u001a\u00020\u0004R\u0016\u0010\u0003\u001a\u00020\u00048\u0006X\u0087T¢\u0006\b\n\u0000\u0012\u0004\b\u0005\u0010\u0002R\u0016\u0010\u0006\u001a\u00020\u00048\u0006X\u0087T¢\u0006\b\n\u0000\u0012\u0004\b\u0007\u0010\u0002R\u0016\u0010\b\u001a\u00020\u00048\u0006X\u0087T¢\u0006\b\n\u0000\u0012\u0004\b\t\u0010\u0002R\u0016\u0010\n\u001a\u00020\u00048\u0006X\u0087T¢\u0006\b\n\u0000\u0012\u0004\b\u000b\u0010\u0002R\u0016\u0010\f\u001a\u00020\u00048\u0006X\u0087T¢\u0006\b\n\u0000\u0012\u0004\b\r\u0010\u0002R\u0016\u0010\u000e\u001a\u00020\u000f8\u0006X\u0087T¢\u0006\b\n\u0000\u0012\u0004\b\u0010\u0010\u0002R\u0016\u0010\u0011\u001a\u00020\u000f8\u0006X\u0087T¢\u0006\b\n\u0000\u0012\u0004\b\u0012\u0010\u0002¨\u0006\u0018"}, d2 = {"Lkotlin/jvm/internal/DoubleCompanionObject;", "", "()V", "MAX_VALUE", "", "getMAX_VALUE$annotations", "MIN_VALUE", "getMIN_VALUE$annotations", "NEGATIVE_INFINITY", "getNEGATIVE_INFINITY$annotations", "NaN", "getNaN$annotations", "POSITIVE_INFINITY", "getPOSITIVE_INFINITY$annotations", "SIZE_BITS", "", "getSIZE_BITS$annotations", "SIZE_BYTES", "getSIZE_BYTES$annotations", "getMAX_VALUE", "getMIN_VALUE", "getNEGATIVE_INFINITY", "getNaN", "getPOSITIVE_INFINITY", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class DoubleCompanionObject {
|
||||
public static final DoubleCompanionObject INSTANCE = new DoubleCompanionObject();
|
||||
public static final double MAX_VALUE = Double.MAX_VALUE;
|
||||
public static final double MIN_VALUE = Double.MIN_VALUE;
|
||||
public static final double NEGATIVE_INFINITY = Double.NEGATIVE_INFINITY;
|
||||
public static final double NaN = Double.NaN;
|
||||
public static final double POSITIVE_INFINITY = Double.POSITIVE_INFINITY;
|
||||
public static final int SIZE_BITS = 64;
|
||||
public static final int SIZE_BYTES = 8;
|
||||
|
||||
public static /* synthetic */ void getMAX_VALUE$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void getMIN_VALUE$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void getNEGATIVE_INFINITY$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void getNaN$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void getPOSITIVE_INFINITY$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void getSIZE_BITS$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void getSIZE_BYTES$annotations() {
|
||||
}
|
||||
|
||||
public final double getMAX_VALUE() {
|
||||
return Double.MAX_VALUE;
|
||||
}
|
||||
|
||||
public final double getMIN_VALUE() {
|
||||
return Double.MIN_VALUE;
|
||||
}
|
||||
|
||||
public final double getNEGATIVE_INFINITY() {
|
||||
return Double.NEGATIVE_INFINITY;
|
||||
}
|
||||
|
||||
public final double getNaN() {
|
||||
return Double.NaN;
|
||||
}
|
||||
|
||||
public final double getPOSITIVE_INFINITY() {
|
||||
return Double.POSITIVE_INFINITY;
|
||||
}
|
||||
|
||||
private DoubleCompanionObject() {
|
||||
}
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: PrimitiveSpreadBuilders.kt */
|
||||
@Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0013\n\u0000\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\u0006\n\u0002\b\u0003\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001B\r\u0012\u0006\u0010\u0003\u001a\u00020\u0004¢\u0006\u0002\u0010\u0005J\u000e\u0010\u0007\u001a\u00020\b2\u0006\u0010\t\u001a\u00020\nJ\u0006\u0010\u000b\u001a\u00020\u0002J\f\u0010\f\u001a\u00020\u0004*\u00020\u0002H\u0014R\u000e\u0010\u0006\u001a\u00020\u0002X\u0082\u0004¢\u0006\u0002\n\u0000¨\u0006\r"}, d2 = {"Lkotlin/jvm/internal/DoubleSpreadBuilder;", "Lkotlin/jvm/internal/PrimitiveSpreadBuilder;", "", "size", "", "(I)V", "values", "add", "", "value", "", "toArray", "getSize", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class DoubleSpreadBuilder extends PrimitiveSpreadBuilder<double[]> {
|
||||
private final double[] values;
|
||||
|
||||
public DoubleSpreadBuilder(int i) {
|
||||
super(i);
|
||||
this.values = new double[i];
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: protected */
|
||||
@Override // kotlin.jvm.internal.PrimitiveSpreadBuilder
|
||||
public int getSize(double[] dArr) {
|
||||
Intrinsics.checkNotNullParameter(dArr, "<this>");
|
||||
return dArr.length;
|
||||
}
|
||||
|
||||
public final void add(double value) {
|
||||
double[] dArr = this.values;
|
||||
int position = getPosition();
|
||||
setPosition(position + 1);
|
||||
dArr[position] = value;
|
||||
}
|
||||
|
||||
public final double[] toArray() {
|
||||
return toArray(this.values, new double[size()]);
|
||||
}
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: PrimitiveCompanionObjects.kt */
|
||||
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\bÀ\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002¨\u0006\u0003"}, d2 = {"Lkotlin/jvm/internal/EnumCompanionObject;", "", "()V", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class EnumCompanionObject {
|
||||
public static final EnumCompanionObject INSTANCE = new EnumCompanionObject();
|
||||
|
||||
private EnumCompanionObject() {
|
||||
}
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: PrimitiveCompanionObjects.kt */
|
||||
@Metadata(d1 = {"\u0000\u001c\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u0007\n\u0002\b\n\n\u0002\u0010\b\n\u0002\b\t\bÀ\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u0006\u0010\u0013\u001a\u00020\u0004J\u0006\u0010\u0014\u001a\u00020\u0004J\u0006\u0010\u0015\u001a\u00020\u0004J\u0006\u0010\u0016\u001a\u00020\u0004J\u0006\u0010\u0017\u001a\u00020\u0004R\u0016\u0010\u0003\u001a\u00020\u00048\u0006X\u0087T¢\u0006\b\n\u0000\u0012\u0004\b\u0005\u0010\u0002R\u0016\u0010\u0006\u001a\u00020\u00048\u0006X\u0087T¢\u0006\b\n\u0000\u0012\u0004\b\u0007\u0010\u0002R\u0016\u0010\b\u001a\u00020\u00048\u0006X\u0087T¢\u0006\b\n\u0000\u0012\u0004\b\t\u0010\u0002R\u0016\u0010\n\u001a\u00020\u00048\u0006X\u0087T¢\u0006\b\n\u0000\u0012\u0004\b\u000b\u0010\u0002R\u0016\u0010\f\u001a\u00020\u00048\u0006X\u0087T¢\u0006\b\n\u0000\u0012\u0004\b\r\u0010\u0002R\u0016\u0010\u000e\u001a\u00020\u000f8\u0006X\u0087T¢\u0006\b\n\u0000\u0012\u0004\b\u0010\u0010\u0002R\u0016\u0010\u0011\u001a\u00020\u000f8\u0006X\u0087T¢\u0006\b\n\u0000\u0012\u0004\b\u0012\u0010\u0002¨\u0006\u0018"}, d2 = {"Lkotlin/jvm/internal/FloatCompanionObject;", "", "()V", "MAX_VALUE", "", "getMAX_VALUE$annotations", "MIN_VALUE", "getMIN_VALUE$annotations", "NEGATIVE_INFINITY", "getNEGATIVE_INFINITY$annotations", "NaN", "getNaN$annotations", "POSITIVE_INFINITY", "getPOSITIVE_INFINITY$annotations", "SIZE_BITS", "", "getSIZE_BITS$annotations", "SIZE_BYTES", "getSIZE_BYTES$annotations", "getMAX_VALUE", "getMIN_VALUE", "getNEGATIVE_INFINITY", "getNaN", "getPOSITIVE_INFINITY", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class FloatCompanionObject {
|
||||
public static final FloatCompanionObject INSTANCE = new FloatCompanionObject();
|
||||
public static final float MAX_VALUE = Float.MAX_VALUE;
|
||||
public static final float MIN_VALUE = Float.MIN_VALUE;
|
||||
public static final float NEGATIVE_INFINITY = Float.NEGATIVE_INFINITY;
|
||||
public static final float NaN = Float.NaN;
|
||||
public static final float POSITIVE_INFINITY = Float.POSITIVE_INFINITY;
|
||||
public static final int SIZE_BITS = 32;
|
||||
public static final int SIZE_BYTES = 4;
|
||||
|
||||
public static /* synthetic */ void getMAX_VALUE$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void getMIN_VALUE$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void getNEGATIVE_INFINITY$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void getNaN$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void getPOSITIVE_INFINITY$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void getSIZE_BITS$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void getSIZE_BYTES$annotations() {
|
||||
}
|
||||
|
||||
public final float getMAX_VALUE() {
|
||||
return Float.MAX_VALUE;
|
||||
}
|
||||
|
||||
public final float getMIN_VALUE() {
|
||||
return Float.MIN_VALUE;
|
||||
}
|
||||
|
||||
public final float getNEGATIVE_INFINITY() {
|
||||
return Float.NEGATIVE_INFINITY;
|
||||
}
|
||||
|
||||
public final float getNaN() {
|
||||
return Float.NaN;
|
||||
}
|
||||
|
||||
public final float getPOSITIVE_INFINITY() {
|
||||
return Float.POSITIVE_INFINITY;
|
||||
}
|
||||
|
||||
private FloatCompanionObject() {
|
||||
}
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: PrimitiveSpreadBuilders.kt */
|
||||
@Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0014\n\u0000\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\u0007\n\u0002\b\u0003\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001B\r\u0012\u0006\u0010\u0003\u001a\u00020\u0004¢\u0006\u0002\u0010\u0005J\u000e\u0010\u0007\u001a\u00020\b2\u0006\u0010\t\u001a\u00020\nJ\u0006\u0010\u000b\u001a\u00020\u0002J\f\u0010\f\u001a\u00020\u0004*\u00020\u0002H\u0014R\u000e\u0010\u0006\u001a\u00020\u0002X\u0082\u0004¢\u0006\u0002\n\u0000¨\u0006\r"}, d2 = {"Lkotlin/jvm/internal/FloatSpreadBuilder;", "Lkotlin/jvm/internal/PrimitiveSpreadBuilder;", "", "size", "", "(I)V", "values", "add", "", "value", "", "toArray", "getSize", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class FloatSpreadBuilder extends PrimitiveSpreadBuilder<float[]> {
|
||||
private final float[] values;
|
||||
|
||||
public FloatSpreadBuilder(int i) {
|
||||
super(i);
|
||||
this.values = new float[i];
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: protected */
|
||||
@Override // kotlin.jvm.internal.PrimitiveSpreadBuilder
|
||||
public int getSize(float[] fArr) {
|
||||
Intrinsics.checkNotNullParameter(fArr, "<this>");
|
||||
return fArr.length;
|
||||
}
|
||||
|
||||
public final void add(float value) {
|
||||
float[] fArr = this.values;
|
||||
int position = getPosition();
|
||||
setPosition(position + 1);
|
||||
fArr[position] = value;
|
||||
}
|
||||
|
||||
public final float[] toArray() {
|
||||
return toArray(this.values, new float[size()]);
|
||||
}
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import java.io.Serializable;
|
||||
import kotlin.reflect.KFunction;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class FunInterfaceConstructorReference extends FunctionReference implements Serializable {
|
||||
private final Class funInterface;
|
||||
|
||||
public FunInterfaceConstructorReference(Class cls) {
|
||||
super(1);
|
||||
this.funInterface = cls;
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.internal.FunctionReference
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (obj instanceof FunInterfaceConstructorReference) {
|
||||
return this.funInterface.equals(((FunInterfaceConstructorReference) obj).funInterface);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.internal.FunctionReference
|
||||
public int hashCode() {
|
||||
return this.funInterface.hashCode();
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.internal.FunctionReference
|
||||
public String toString() {
|
||||
return "fun interface " + this.funInterface.getName();
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: protected */
|
||||
@Override // kotlin.jvm.internal.FunctionReference, kotlin.jvm.internal.CallableReference
|
||||
public KFunction getReflected() {
|
||||
throw new UnsupportedOperationException("Functional interface constructor does not support reflection");
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.Function;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public interface FunctionAdapter {
|
||||
Function<?> getFunctionDelegate();
|
||||
}
|
11
02-Easy5/E5/sources/kotlin/jvm/internal/FunctionBase.java
Normal file
11
02-Easy5/E5/sources/kotlin/jvm/internal/FunctionBase.java
Normal file
@ -0,0 +1,11 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.Function;
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: FunctionBase.kt */
|
||||
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0003\bf\u0018\u0000*\u0006\b\u0000\u0010\u0001 \u00012\b\u0012\u0004\u0012\u0002H\u00010\u0002R\u0012\u0010\u0003\u001a\u00020\u0004X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0007"}, d2 = {"Lkotlin/jvm/internal/FunctionBase;", "R", "Lkotlin/Function;", "arity", "", "getArity", "()I", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface FunctionBase<R> extends Function<R> {
|
||||
int getArity();
|
||||
}
|
188
02-Easy5/E5/sources/kotlin/jvm/internal/FunctionImpl.java
Normal file
188
02-Easy5/E5/sources/kotlin/jvm/internal/FunctionImpl.java
Normal file
@ -0,0 +1,188 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import java.io.Serializable;
|
||||
import kotlin.Deprecated;
|
||||
import kotlin.DeprecationLevel;
|
||||
import kotlin.Function;
|
||||
import kotlin.jvm.functions.Function0;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
import kotlin.jvm.functions.Function10;
|
||||
import kotlin.jvm.functions.Function11;
|
||||
import kotlin.jvm.functions.Function12;
|
||||
import kotlin.jvm.functions.Function13;
|
||||
import kotlin.jvm.functions.Function14;
|
||||
import kotlin.jvm.functions.Function15;
|
||||
import kotlin.jvm.functions.Function16;
|
||||
import kotlin.jvm.functions.Function17;
|
||||
import kotlin.jvm.functions.Function18;
|
||||
import kotlin.jvm.functions.Function19;
|
||||
import kotlin.jvm.functions.Function2;
|
||||
import kotlin.jvm.functions.Function20;
|
||||
import kotlin.jvm.functions.Function21;
|
||||
import kotlin.jvm.functions.Function22;
|
||||
import kotlin.jvm.functions.Function3;
|
||||
import kotlin.jvm.functions.Function4;
|
||||
import kotlin.jvm.functions.Function5;
|
||||
import kotlin.jvm.functions.Function6;
|
||||
import kotlin.jvm.functions.Function7;
|
||||
import kotlin.jvm.functions.Function8;
|
||||
import kotlin.jvm.functions.Function9;
|
||||
|
||||
@Deprecated(level = DeprecationLevel.ERROR, message = "This class is no longer supported, do not use it.")
|
||||
@Deprecated
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class FunctionImpl implements Function, Serializable, Function0, Function1, Function2, Function3, Function4, Function5, Function6, Function7, Function8, Function9, Function10, Function11, Function12, Function13, Function14, Function15, Function16, Function17, Function18, Function19, Function20, Function21, Function22 {
|
||||
public abstract int getArity();
|
||||
|
||||
public Object invokeVararg(Object... objArr) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
private void checkArity(int i) {
|
||||
if (getArity() != i) {
|
||||
throwWrongArity(i);
|
||||
}
|
||||
}
|
||||
|
||||
private void throwWrongArity(int i) {
|
||||
throw new IllegalStateException("Wrong function arity, expected: " + i + ", actual: " + getArity());
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function0
|
||||
public Object invoke() {
|
||||
checkArity(0);
|
||||
return invokeVararg(new Object[0]);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function1
|
||||
public Object invoke(Object obj) {
|
||||
checkArity(1);
|
||||
return invokeVararg(obj);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function2
|
||||
public Object invoke(Object obj, Object obj2) {
|
||||
checkArity(2);
|
||||
return invokeVararg(obj, obj2);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function3
|
||||
public Object invoke(Object obj, Object obj2, Object obj3) {
|
||||
checkArity(3);
|
||||
return invokeVararg(obj, obj2, obj3);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function4
|
||||
public Object invoke(Object obj, Object obj2, Object obj3, Object obj4) {
|
||||
checkArity(4);
|
||||
return invokeVararg(obj, obj2, obj3, obj4);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function5
|
||||
public Object invoke(Object obj, Object obj2, Object obj3, Object obj4, Object obj5) {
|
||||
checkArity(5);
|
||||
return invokeVararg(obj, obj2, obj3, obj4, obj5);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function6
|
||||
public Object invoke(Object obj, Object obj2, Object obj3, Object obj4, Object obj5, Object obj6) {
|
||||
checkArity(6);
|
||||
return invokeVararg(obj, obj2, obj3, obj4, obj5, obj6);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function7
|
||||
public Object invoke(Object obj, Object obj2, Object obj3, Object obj4, Object obj5, Object obj6, Object obj7) {
|
||||
checkArity(7);
|
||||
return invokeVararg(obj, obj2, obj3, obj4, obj5, obj6, obj7);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function8
|
||||
public Object invoke(Object obj, Object obj2, Object obj3, Object obj4, Object obj5, Object obj6, Object obj7, Object obj8) {
|
||||
checkArity(8);
|
||||
return invokeVararg(obj, obj2, obj3, obj4, obj5, obj6, obj7, obj8);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function9
|
||||
public Object invoke(Object obj, Object obj2, Object obj3, Object obj4, Object obj5, Object obj6, Object obj7, Object obj8, Object obj9) {
|
||||
checkArity(9);
|
||||
return invokeVararg(obj, obj2, obj3, obj4, obj5, obj6, obj7, obj8, obj9);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function10
|
||||
public Object invoke(Object obj, Object obj2, Object obj3, Object obj4, Object obj5, Object obj6, Object obj7, Object obj8, Object obj9, Object obj10) {
|
||||
checkArity(10);
|
||||
return invokeVararg(obj, obj2, obj3, obj4, obj5, obj6, obj7, obj8, obj9, obj10);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function11
|
||||
public Object invoke(Object obj, Object obj2, Object obj3, Object obj4, Object obj5, Object obj6, Object obj7, Object obj8, Object obj9, Object obj10, Object obj11) {
|
||||
checkArity(11);
|
||||
return invokeVararg(obj, obj2, obj3, obj4, obj5, obj6, obj7, obj8, obj9, obj10, obj11);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function12
|
||||
public Object invoke(Object obj, Object obj2, Object obj3, Object obj4, Object obj5, Object obj6, Object obj7, Object obj8, Object obj9, Object obj10, Object obj11, Object obj12) {
|
||||
checkArity(12);
|
||||
return invokeVararg(obj, obj2, obj3, obj4, obj5, obj6, obj7, obj8, obj9, obj10, obj11, obj12);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function13
|
||||
public Object invoke(Object obj, Object obj2, Object obj3, Object obj4, Object obj5, Object obj6, Object obj7, Object obj8, Object obj9, Object obj10, Object obj11, Object obj12, Object obj13) {
|
||||
checkArity(13);
|
||||
return invokeVararg(obj, obj2, obj3, obj4, obj5, obj6, obj7, obj8, obj9, obj10, obj11, obj12, obj13);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function14
|
||||
public Object invoke(Object obj, Object obj2, Object obj3, Object obj4, Object obj5, Object obj6, Object obj7, Object obj8, Object obj9, Object obj10, Object obj11, Object obj12, Object obj13, Object obj14) {
|
||||
checkArity(14);
|
||||
return invokeVararg(obj, obj2, obj3, obj4, obj5, obj6, obj7, obj8, obj9, obj10, obj11, obj12, obj13, obj14);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function15
|
||||
public Object invoke(Object obj, Object obj2, Object obj3, Object obj4, Object obj5, Object obj6, Object obj7, Object obj8, Object obj9, Object obj10, Object obj11, Object obj12, Object obj13, Object obj14, Object obj15) {
|
||||
checkArity(15);
|
||||
return invokeVararg(obj, obj2, obj3, obj4, obj5, obj6, obj7, obj8, obj9, obj10, obj11, obj12, obj13, obj14, obj15);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function16
|
||||
public Object invoke(Object obj, Object obj2, Object obj3, Object obj4, Object obj5, Object obj6, Object obj7, Object obj8, Object obj9, Object obj10, Object obj11, Object obj12, Object obj13, Object obj14, Object obj15, Object obj16) {
|
||||
checkArity(16);
|
||||
return invokeVararg(obj, obj2, obj3, obj4, obj5, obj6, obj7, obj8, obj9, obj10, obj11, obj12, obj13, obj14, obj15, obj16);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function17
|
||||
public Object invoke(Object obj, Object obj2, Object obj3, Object obj4, Object obj5, Object obj6, Object obj7, Object obj8, Object obj9, Object obj10, Object obj11, Object obj12, Object obj13, Object obj14, Object obj15, Object obj16, Object obj17) {
|
||||
checkArity(17);
|
||||
return invokeVararg(obj, obj2, obj3, obj4, obj5, obj6, obj7, obj8, obj9, obj10, obj11, obj12, obj13, obj14, obj15, obj16, obj17);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function18
|
||||
public Object invoke(Object obj, Object obj2, Object obj3, Object obj4, Object obj5, Object obj6, Object obj7, Object obj8, Object obj9, Object obj10, Object obj11, Object obj12, Object obj13, Object obj14, Object obj15, Object obj16, Object obj17, Object obj18) {
|
||||
checkArity(18);
|
||||
return invokeVararg(obj, obj2, obj3, obj4, obj5, obj6, obj7, obj8, obj9, obj10, obj11, obj12, obj13, obj14, obj15, obj16, obj17, obj18);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function19
|
||||
public Object invoke(Object obj, Object obj2, Object obj3, Object obj4, Object obj5, Object obj6, Object obj7, Object obj8, Object obj9, Object obj10, Object obj11, Object obj12, Object obj13, Object obj14, Object obj15, Object obj16, Object obj17, Object obj18, Object obj19) {
|
||||
checkArity(19);
|
||||
return invokeVararg(obj, obj2, obj3, obj4, obj5, obj6, obj7, obj8, obj9, obj10, obj11, obj12, obj13, obj14, obj15, obj16, obj17, obj18, obj19);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function20
|
||||
public Object invoke(Object obj, Object obj2, Object obj3, Object obj4, Object obj5, Object obj6, Object obj7, Object obj8, Object obj9, Object obj10, Object obj11, Object obj12, Object obj13, Object obj14, Object obj15, Object obj16, Object obj17, Object obj18, Object obj19, Object obj20) {
|
||||
checkArity(20);
|
||||
return invokeVararg(obj, obj2, obj3, obj4, obj5, obj6, obj7, obj8, obj9, obj10, obj11, obj12, obj13, obj14, obj15, obj16, obj17, obj18, obj19, obj20);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function21
|
||||
public Object invoke(Object obj, Object obj2, Object obj3, Object obj4, Object obj5, Object obj6, Object obj7, Object obj8, Object obj9, Object obj10, Object obj11, Object obj12, Object obj13, Object obj14, Object obj15, Object obj16, Object obj17, Object obj18, Object obj19, Object obj20, Object obj21) {
|
||||
checkArity(21);
|
||||
return invokeVararg(obj, obj2, obj3, obj4, obj5, obj6, obj7, obj8, obj9, obj10, obj11, obj12, obj13, obj14, obj15, obj16, obj17, obj18, obj19, obj20, obj21);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function22
|
||||
public Object invoke(Object obj, Object obj2, Object obj3, Object obj4, Object obj5, Object obj6, Object obj7, Object obj8, Object obj9, Object obj10, Object obj11, Object obj12, Object obj13, Object obj14, Object obj15, Object obj16, Object obj17, Object obj18, Object obj19, Object obj20, Object obj21, Object obj22) {
|
||||
checkArity(22);
|
||||
return invokeVararg(obj, obj2, obj3, obj4, obj5, obj6, obj7, obj8, obj9, obj10, obj11, obj12, obj13, obj14, obj15, obj16, obj17, obj18, obj19, obj20, obj21, obj22);
|
||||
}
|
||||
}
|
@ -0,0 +1,94 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.reflect.KCallable;
|
||||
import kotlin.reflect.KFunction;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class FunctionReference extends CallableReference implements FunctionBase, KFunction {
|
||||
private final int arity;
|
||||
private final int flags;
|
||||
|
||||
@Override // kotlin.jvm.internal.FunctionBase
|
||||
public int getArity() {
|
||||
return this.arity;
|
||||
}
|
||||
|
||||
public FunctionReference(int i) {
|
||||
this(i, NO_RECEIVER, null, null, null, 0);
|
||||
}
|
||||
|
||||
public FunctionReference(int i, Object obj) {
|
||||
this(i, obj, null, null, null, 0);
|
||||
}
|
||||
|
||||
public FunctionReference(int i, Object obj, Class cls, String str, String str2, int i2) {
|
||||
super(obj, cls, str, str2, (i2 & 1) == 1);
|
||||
this.arity = i;
|
||||
this.flags = i2 >> 1;
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: protected */
|
||||
@Override // kotlin.jvm.internal.CallableReference
|
||||
public KFunction getReflected() {
|
||||
return (KFunction) super.getReflected();
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.internal.CallableReference
|
||||
protected KCallable computeReflected() {
|
||||
return Reflection.function(this);
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KFunction
|
||||
public boolean isInline() {
|
||||
return getReflected().isInline();
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KFunction
|
||||
public boolean isExternal() {
|
||||
return getReflected().isExternal();
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KFunction
|
||||
public boolean isOperator() {
|
||||
return getReflected().isOperator();
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KFunction
|
||||
public boolean isInfix() {
|
||||
return getReflected().isInfix();
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.internal.CallableReference, kotlin.reflect.KCallable
|
||||
public boolean isSuspend() {
|
||||
return getReflected().isSuspend();
|
||||
}
|
||||
|
||||
public boolean equals(Object obj) {
|
||||
if (obj == this) {
|
||||
return true;
|
||||
}
|
||||
if (obj instanceof FunctionReference) {
|
||||
FunctionReference functionReference = (FunctionReference) obj;
|
||||
return getName().equals(functionReference.getName()) && getSignature().equals(functionReference.getSignature()) && this.flags == functionReference.flags && this.arity == functionReference.arity && Intrinsics.areEqual(getBoundReceiver(), functionReference.getBoundReceiver()) && Intrinsics.areEqual(getOwner(), functionReference.getOwner());
|
||||
}
|
||||
if (obj instanceof KFunction) {
|
||||
return obj.equals(compute());
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return (((getOwner() == null ? 0 : getOwner().hashCode() * 31) + getName().hashCode()) * 31) + getSignature().hashCode();
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
KCallable compute = compute();
|
||||
if (compute != this) {
|
||||
return compute.toString();
|
||||
}
|
||||
if ("<init>".equals(getName())) {
|
||||
return "constructor (Kotlin reflection is not available)";
|
||||
}
|
||||
return "function " + getName() + " (Kotlin reflection is not available)";
|
||||
}
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.reflect.KClass;
|
||||
import kotlin.reflect.KDeclarationContainer;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class FunctionReferenceImpl extends FunctionReference {
|
||||
public FunctionReferenceImpl(int i, KDeclarationContainer kDeclarationContainer, String str, String str2) {
|
||||
super(i, NO_RECEIVER, ((ClassBasedDeclarationContainer) kDeclarationContainer).getJClass(), str, str2, !(kDeclarationContainer instanceof KClass) ? 1 : 0);
|
||||
}
|
||||
|
||||
public FunctionReferenceImpl(int i, Class cls, String str, String str2, int i2) {
|
||||
super(i, NO_RECEIVER, cls, str, str2, i2);
|
||||
}
|
||||
|
||||
public FunctionReferenceImpl(int i, Object obj, Class cls, String str, String str2, int i2) {
|
||||
super(i, obj, cls, str, str2, i2);
|
||||
}
|
||||
}
|
22
02-Easy5/E5/sources/kotlin/jvm/internal/InlineMarker.java
Normal file
22
02-Easy5/E5/sources/kotlin/jvm/internal/InlineMarker.java
Normal file
@ -0,0 +1,22 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class InlineMarker {
|
||||
public static void afterInlineCall() {
|
||||
}
|
||||
|
||||
public static void beforeInlineCall() {
|
||||
}
|
||||
|
||||
public static void finallyEnd(int i) {
|
||||
}
|
||||
|
||||
public static void finallyStart(int i) {
|
||||
}
|
||||
|
||||
public static void mark(int i) {
|
||||
}
|
||||
|
||||
public static void mark(String str) {
|
||||
}
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: PrimitiveCompanionObjects.kt */
|
||||
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0006\bÀ\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u000e\u0010\u0003\u001a\u00020\u0004X\u0086T¢\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0004X\u0086T¢\u0006\u0002\n\u0000R\u0016\u0010\u0006\u001a\u00020\u00048\u0006X\u0087T¢\u0006\b\n\u0000\u0012\u0004\b\u0007\u0010\u0002R\u0016\u0010\b\u001a\u00020\u00048\u0006X\u0087T¢\u0006\b\n\u0000\u0012\u0004\b\t\u0010\u0002¨\u0006\n"}, d2 = {"Lkotlin/jvm/internal/IntCompanionObject;", "", "()V", "MAX_VALUE", "", "MIN_VALUE", "SIZE_BITS", "getSIZE_BITS$annotations", "SIZE_BYTES", "getSIZE_BYTES$annotations", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class IntCompanionObject {
|
||||
public static final IntCompanionObject INSTANCE = new IntCompanionObject();
|
||||
public static final int MAX_VALUE = Integer.MAX_VALUE;
|
||||
public static final int MIN_VALUE = Integer.MIN_VALUE;
|
||||
public static final int SIZE_BITS = 32;
|
||||
public static final int SIZE_BYTES = 4;
|
||||
|
||||
public static /* synthetic */ void getSIZE_BITS$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void getSIZE_BYTES$annotations() {
|
||||
}
|
||||
|
||||
private IntCompanionObject() {
|
||||
}
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: PrimitiveSpreadBuilders.kt */
|
||||
@Metadata(d1 = {"\u0000\u001e\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0015\n\u0000\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0002\b\u0004\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001B\r\u0012\u0006\u0010\u0003\u001a\u00020\u0004¢\u0006\u0002\u0010\u0005J\u000e\u0010\u0007\u001a\u00020\b2\u0006\u0010\t\u001a\u00020\u0004J\u0006\u0010\n\u001a\u00020\u0002J\f\u0010\u000b\u001a\u00020\u0004*\u00020\u0002H\u0014R\u000e\u0010\u0006\u001a\u00020\u0002X\u0082\u0004¢\u0006\u0002\n\u0000¨\u0006\f"}, d2 = {"Lkotlin/jvm/internal/IntSpreadBuilder;", "Lkotlin/jvm/internal/PrimitiveSpreadBuilder;", "", "size", "", "(I)V", "values", "add", "", "value", "toArray", "getSize", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class IntSpreadBuilder extends PrimitiveSpreadBuilder<int[]> {
|
||||
private final int[] values;
|
||||
|
||||
public IntSpreadBuilder(int i) {
|
||||
super(i);
|
||||
this.values = new int[i];
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: protected */
|
||||
@Override // kotlin.jvm.internal.PrimitiveSpreadBuilder
|
||||
public int getSize(int[] iArr) {
|
||||
Intrinsics.checkNotNullParameter(iArr, "<this>");
|
||||
return iArr.length;
|
||||
}
|
||||
|
||||
public final void add(int value) {
|
||||
int[] iArr = this.values;
|
||||
int position = getPosition();
|
||||
setPosition(position + 1);
|
||||
iArr[position] = value;
|
||||
}
|
||||
|
||||
public final int[] toArray() {
|
||||
return toArray(this.values, new int[size()]);
|
||||
}
|
||||
}
|
272
02-Easy5/E5/sources/kotlin/jvm/internal/Intrinsics.java
Normal file
272
02-Easy5/E5/sources/kotlin/jvm/internal/Intrinsics.java
Normal file
@ -0,0 +1,272 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import java.util.Arrays;
|
||||
import kotlin.KotlinNullPointerException;
|
||||
import kotlin.UninitializedPropertyAccessException;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class Intrinsics {
|
||||
public static int compare(int i, int i2) {
|
||||
if (i < i2) {
|
||||
return -1;
|
||||
}
|
||||
return i == i2 ? 0 : 1;
|
||||
}
|
||||
|
||||
public static int compare(long j, long j2) {
|
||||
if (j < j2) {
|
||||
return -1;
|
||||
}
|
||||
return j == j2 ? 0 : 1;
|
||||
}
|
||||
|
||||
private Intrinsics() {
|
||||
}
|
||||
|
||||
public static String stringPlus(String str, Object obj) {
|
||||
return str + obj;
|
||||
}
|
||||
|
||||
public static void checkNotNull(Object obj) {
|
||||
if (obj == null) {
|
||||
throwJavaNpe();
|
||||
}
|
||||
}
|
||||
|
||||
public static void checkNotNull(Object obj, String str) {
|
||||
if (obj == null) {
|
||||
throwJavaNpe(str);
|
||||
}
|
||||
}
|
||||
|
||||
public static void throwNpe() {
|
||||
throw ((KotlinNullPointerException) sanitizeStackTrace(new KotlinNullPointerException()));
|
||||
}
|
||||
|
||||
public static void throwNpe(String str) {
|
||||
throw ((KotlinNullPointerException) sanitizeStackTrace(new KotlinNullPointerException(str)));
|
||||
}
|
||||
|
||||
public static void throwJavaNpe() {
|
||||
throw ((NullPointerException) sanitizeStackTrace(new NullPointerException()));
|
||||
}
|
||||
|
||||
public static void throwJavaNpe(String str) {
|
||||
throw ((NullPointerException) sanitizeStackTrace(new NullPointerException(str)));
|
||||
}
|
||||
|
||||
public static void throwUninitializedProperty(String str) {
|
||||
throw ((UninitializedPropertyAccessException) sanitizeStackTrace(new UninitializedPropertyAccessException(str)));
|
||||
}
|
||||
|
||||
public static void throwUninitializedPropertyAccessException(String str) {
|
||||
throwUninitializedProperty("lateinit property " + str + " has not been initialized");
|
||||
}
|
||||
|
||||
public static void throwAssert() {
|
||||
throw ((AssertionError) sanitizeStackTrace(new AssertionError()));
|
||||
}
|
||||
|
||||
public static void throwAssert(String str) {
|
||||
throw ((AssertionError) sanitizeStackTrace(new AssertionError(str)));
|
||||
}
|
||||
|
||||
public static void throwIllegalArgument() {
|
||||
throw ((IllegalArgumentException) sanitizeStackTrace(new IllegalArgumentException()));
|
||||
}
|
||||
|
||||
public static void throwIllegalArgument(String str) {
|
||||
throw ((IllegalArgumentException) sanitizeStackTrace(new IllegalArgumentException(str)));
|
||||
}
|
||||
|
||||
public static void throwIllegalState() {
|
||||
throw ((IllegalStateException) sanitizeStackTrace(new IllegalStateException()));
|
||||
}
|
||||
|
||||
public static void throwIllegalState(String str) {
|
||||
throw ((IllegalStateException) sanitizeStackTrace(new IllegalStateException(str)));
|
||||
}
|
||||
|
||||
public static void checkExpressionValueIsNotNull(Object obj, String str) {
|
||||
if (obj != null) {
|
||||
return;
|
||||
}
|
||||
throw ((IllegalStateException) sanitizeStackTrace(new IllegalStateException(str + " must not be null")));
|
||||
}
|
||||
|
||||
public static void checkNotNullExpressionValue(Object obj, String str) {
|
||||
if (obj != null) {
|
||||
return;
|
||||
}
|
||||
throw ((NullPointerException) sanitizeStackTrace(new NullPointerException(str + " must not be null")));
|
||||
}
|
||||
|
||||
public static void checkReturnedValueIsNotNull(Object obj, String str, String str2) {
|
||||
if (obj != null) {
|
||||
return;
|
||||
}
|
||||
throw ((IllegalStateException) sanitizeStackTrace(new IllegalStateException("Method specified as non-null returned null: " + str + "." + str2)));
|
||||
}
|
||||
|
||||
public static void checkReturnedValueIsNotNull(Object obj, String str) {
|
||||
if (obj == null) {
|
||||
throw ((IllegalStateException) sanitizeStackTrace(new IllegalStateException(str)));
|
||||
}
|
||||
}
|
||||
|
||||
public static void checkFieldIsNotNull(Object obj, String str, String str2) {
|
||||
if (obj != null) {
|
||||
return;
|
||||
}
|
||||
throw ((IllegalStateException) sanitizeStackTrace(new IllegalStateException("Field specified as non-null is null: " + str + "." + str2)));
|
||||
}
|
||||
|
||||
public static void checkFieldIsNotNull(Object obj, String str) {
|
||||
if (obj == null) {
|
||||
throw ((IllegalStateException) sanitizeStackTrace(new IllegalStateException(str)));
|
||||
}
|
||||
}
|
||||
|
||||
public static void checkParameterIsNotNull(Object obj, String str) {
|
||||
if (obj == null) {
|
||||
throwParameterIsNullIAE(str);
|
||||
}
|
||||
}
|
||||
|
||||
public static void checkNotNullParameter(Object obj, String str) {
|
||||
if (obj == null) {
|
||||
throwParameterIsNullNPE(str);
|
||||
}
|
||||
}
|
||||
|
||||
private static void throwParameterIsNullIAE(String str) {
|
||||
throw ((IllegalArgumentException) sanitizeStackTrace(new IllegalArgumentException(createParameterIsNullExceptionMessage(str))));
|
||||
}
|
||||
|
||||
private static void throwParameterIsNullNPE(String str) {
|
||||
throw ((NullPointerException) sanitizeStackTrace(new NullPointerException(createParameterIsNullExceptionMessage(str))));
|
||||
}
|
||||
|
||||
private static String createParameterIsNullExceptionMessage(String str) {
|
||||
StackTraceElement[] stackTrace = Thread.currentThread().getStackTrace();
|
||||
String name = Intrinsics.class.getName();
|
||||
int i = 0;
|
||||
while (!stackTrace[i].getClassName().equals(name)) {
|
||||
i++;
|
||||
}
|
||||
while (stackTrace[i].getClassName().equals(name)) {
|
||||
i++;
|
||||
}
|
||||
StackTraceElement stackTraceElement = stackTrace[i];
|
||||
return "Parameter specified as non-null is null: method " + stackTraceElement.getClassName() + "." + stackTraceElement.getMethodName() + ", parameter " + str;
|
||||
}
|
||||
|
||||
public static boolean areEqual(Object obj, Object obj2) {
|
||||
if (obj == null) {
|
||||
return obj2 == null;
|
||||
}
|
||||
return obj.equals(obj2);
|
||||
}
|
||||
|
||||
public static boolean areEqual(Double d, Double d2) {
|
||||
if (d == null) {
|
||||
if (d2 == null) {
|
||||
return true;
|
||||
}
|
||||
} else if (d2 != null && d.doubleValue() == d2.doubleValue()) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public static boolean areEqual(Double d, double d2) {
|
||||
return d != null && d.doubleValue() == d2;
|
||||
}
|
||||
|
||||
public static boolean areEqual(double d, Double d2) {
|
||||
return d2 != null && d == d2.doubleValue();
|
||||
}
|
||||
|
||||
public static boolean areEqual(Float f, Float f2) {
|
||||
if (f == null) {
|
||||
if (f2 == null) {
|
||||
return true;
|
||||
}
|
||||
} else if (f2 != null && f.floatValue() == f2.floatValue()) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public static boolean areEqual(Float f, float f2) {
|
||||
return f != null && f.floatValue() == f2;
|
||||
}
|
||||
|
||||
public static boolean areEqual(float f, Float f2) {
|
||||
return f2 != null && f == f2.floatValue();
|
||||
}
|
||||
|
||||
public static void throwUndefinedForReified() {
|
||||
throwUndefinedForReified("This function has a reified type parameter and thus can only be inlined at compilation time, not called directly.");
|
||||
}
|
||||
|
||||
public static void throwUndefinedForReified(String str) {
|
||||
throw new UnsupportedOperationException(str);
|
||||
}
|
||||
|
||||
public static void reifiedOperationMarker(int i, String str) {
|
||||
throwUndefinedForReified();
|
||||
}
|
||||
|
||||
public static void reifiedOperationMarker(int i, String str, String str2) {
|
||||
throwUndefinedForReified(str2);
|
||||
}
|
||||
|
||||
public static void needClassReification() {
|
||||
throwUndefinedForReified();
|
||||
}
|
||||
|
||||
public static void needClassReification(String str) {
|
||||
throwUndefinedForReified(str);
|
||||
}
|
||||
|
||||
public static void checkHasClass(String str) throws ClassNotFoundException {
|
||||
String replace = str.replace('/', '.');
|
||||
try {
|
||||
Class.forName(replace);
|
||||
} catch (ClassNotFoundException e) {
|
||||
throw ((ClassNotFoundException) sanitizeStackTrace(new ClassNotFoundException("Class " + replace + " is not found. Please update the Kotlin runtime to the latest version", e)));
|
||||
}
|
||||
}
|
||||
|
||||
public static void checkHasClass(String str, String str2) throws ClassNotFoundException {
|
||||
String replace = str.replace('/', '.');
|
||||
try {
|
||||
Class.forName(replace);
|
||||
} catch (ClassNotFoundException e) {
|
||||
throw ((ClassNotFoundException) sanitizeStackTrace(new ClassNotFoundException("Class " + replace + " is not found: this code requires the Kotlin runtime of version at least " + str2, e)));
|
||||
}
|
||||
}
|
||||
|
||||
private static <T extends Throwable> T sanitizeStackTrace(T t) {
|
||||
return (T) sanitizeStackTrace(t, Intrinsics.class.getName());
|
||||
}
|
||||
|
||||
static <T extends Throwable> T sanitizeStackTrace(T t, String str) {
|
||||
StackTraceElement[] stackTrace = t.getStackTrace();
|
||||
int length = stackTrace.length;
|
||||
int i = -1;
|
||||
for (int i2 = 0; i2 < length; i2++) {
|
||||
if (str.equals(stackTrace[i2].getClassName())) {
|
||||
i = i2;
|
||||
}
|
||||
}
|
||||
t.setStackTrace((StackTraceElement[]) Arrays.copyOfRange(stackTrace, i + 1, length));
|
||||
return t;
|
||||
}
|
||||
|
||||
public static class Kotlin {
|
||||
private Kotlin() {
|
||||
}
|
||||
}
|
||||
}
|
12
02-Easy5/E5/sources/kotlin/jvm/internal/KTypeBase.java
Normal file
12
02-Easy5/E5/sources/kotlin/jvm/internal/KTypeBase.java
Normal file
@ -0,0 +1,12 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import java.lang.reflect.Type;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.reflect.KType;
|
||||
|
||||
/* compiled from: KTypeBase.kt */
|
||||
@Metadata(d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\bg\u0018\u00002\u00020\u0001R\u0014\u0010\u0002\u001a\u0004\u0018\u00010\u0003X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0004\u0010\u0005¨\u0006\u0006"}, d2 = {"Lkotlin/jvm/internal/KTypeBase;", "Lkotlin/reflect/KType;", "javaType", "Ljava/lang/reflect/Type;", "getJavaType", "()Ljava/lang/reflect/Type;", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface KTypeBase extends KType {
|
||||
Type getJavaType();
|
||||
}
|
26
02-Easy5/E5/sources/kotlin/jvm/internal/Lambda.java
Normal file
26
02-Easy5/E5/sources/kotlin/jvm/internal/Lambda.java
Normal file
@ -0,0 +1,26 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import java.io.Serializable;
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: Lambda.kt */
|
||||
@Metadata(d1 = {"\u0000\u001e\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0004\n\u0002\u0010\u000e\n\u0000\b&\u0018\u0000*\u0006\b\u0000\u0010\u0001 \u00012\b\u0012\u0004\u0012\u0002H\u00010\u00022\u00020\u0003B\r\u0012\u0006\u0010\u0004\u001a\u00020\u0005¢\u0006\u0002\u0010\u0006J\b\u0010\t\u001a\u00020\nH\u0016R\u0014\u0010\u0004\u001a\u00020\u0005X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\b¨\u0006\u000b"}, d2 = {"Lkotlin/jvm/internal/Lambda;", "R", "Lkotlin/jvm/internal/FunctionBase;", "Ljava/io/Serializable;", "arity", "", "(I)V", "getArity", "()I", "toString", "", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class Lambda<R> implements FunctionBase<R>, Serializable {
|
||||
private final int arity;
|
||||
|
||||
@Override // kotlin.jvm.internal.FunctionBase
|
||||
public int getArity() {
|
||||
return this.arity;
|
||||
}
|
||||
|
||||
public Lambda(int i) {
|
||||
this.arity = i;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
String renderLambdaToString = Reflection.renderLambdaToString((Lambda) this);
|
||||
Intrinsics.checkNotNullExpressionValue(renderLambdaToString, "renderLambdaToString(this)");
|
||||
return renderLambdaToString;
|
||||
}
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.KotlinNothingValueException;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.reflect.KDeclarationContainer;
|
||||
|
||||
/* compiled from: localVariableReferences.kt */
|
||||
@Metadata(d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\b\u0017\u0018\u00002\u00020\u0001B\u0005¢\u0006\u0002\u0010\u0002J\n\u0010\u0003\u001a\u0004\u0018\u00010\u0004H\u0016J\b\u0010\u0005\u001a\u00020\u0006H\u0016¨\u0006\u0007"}, d2 = {"Lkotlin/jvm/internal/LocalVariableReference;", "Lkotlin/jvm/internal/PropertyReference0;", "()V", "get", "", "getOwner", "Lkotlin/reflect/KDeclarationContainer;", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public class LocalVariableReference extends PropertyReference0 {
|
||||
@Override // kotlin.jvm.internal.CallableReference
|
||||
public KDeclarationContainer getOwner() {
|
||||
LocalVariableReferencesKt.notSupportedError();
|
||||
throw new KotlinNothingValueException();
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KProperty0
|
||||
public Object get() {
|
||||
LocalVariableReferencesKt.notSupportedError();
|
||||
throw new KotlinNothingValueException();
|
||||
}
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: localVariableReferences.kt */
|
||||
@Metadata(d1 = {"\u0000\b\n\u0000\n\u0002\u0010\u0001\n\u0000\u001a\b\u0010\u0000\u001a\u00020\u0001H\u0002¨\u0006\u0002"}, d2 = {"notSupportedError", "", "kotlin-stdlib"}, k = 2, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class LocalVariableReferencesKt {
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final Void notSupportedError() {
|
||||
throw new UnsupportedOperationException("Not supported for local property reference.");
|
||||
}
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: PrimitiveCompanionObjects.kt */
|
||||
@Metadata(d1 = {"\u0000\u001c\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\t\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0004\bÀ\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u000e\u0010\u0003\u001a\u00020\u0004X\u0086T¢\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0004X\u0086T¢\u0006\u0002\n\u0000R\u0016\u0010\u0006\u001a\u00020\u00078\u0006X\u0087T¢\u0006\b\n\u0000\u0012\u0004\b\b\u0010\u0002R\u0016\u0010\t\u001a\u00020\u00078\u0006X\u0087T¢\u0006\b\n\u0000\u0012\u0004\b\n\u0010\u0002¨\u0006\u000b"}, d2 = {"Lkotlin/jvm/internal/LongCompanionObject;", "", "()V", "MAX_VALUE", "", "MIN_VALUE", "SIZE_BITS", "", "getSIZE_BITS$annotations", "SIZE_BYTES", "getSIZE_BYTES$annotations", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class LongCompanionObject {
|
||||
public static final LongCompanionObject INSTANCE = new LongCompanionObject();
|
||||
public static final long MAX_VALUE = Long.MAX_VALUE;
|
||||
public static final long MIN_VALUE = Long.MIN_VALUE;
|
||||
public static final int SIZE_BITS = 64;
|
||||
public static final int SIZE_BYTES = 8;
|
||||
|
||||
public static /* synthetic */ void getSIZE_BITS$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void getSIZE_BYTES$annotations() {
|
||||
}
|
||||
|
||||
private LongCompanionObject() {
|
||||
}
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: PrimitiveSpreadBuilders.kt */
|
||||
@Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0016\n\u0000\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\t\n\u0002\b\u0003\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001B\r\u0012\u0006\u0010\u0003\u001a\u00020\u0004¢\u0006\u0002\u0010\u0005J\u000e\u0010\u0007\u001a\u00020\b2\u0006\u0010\t\u001a\u00020\nJ\u0006\u0010\u000b\u001a\u00020\u0002J\f\u0010\f\u001a\u00020\u0004*\u00020\u0002H\u0014R\u000e\u0010\u0006\u001a\u00020\u0002X\u0082\u0004¢\u0006\u0002\n\u0000¨\u0006\r"}, d2 = {"Lkotlin/jvm/internal/LongSpreadBuilder;", "Lkotlin/jvm/internal/PrimitiveSpreadBuilder;", "", "size", "", "(I)V", "values", "add", "", "value", "", "toArray", "getSize", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class LongSpreadBuilder extends PrimitiveSpreadBuilder<long[]> {
|
||||
private final long[] values;
|
||||
|
||||
public LongSpreadBuilder(int i) {
|
||||
super(i);
|
||||
this.values = new long[i];
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: protected */
|
||||
@Override // kotlin.jvm.internal.PrimitiveSpreadBuilder
|
||||
public int getSize(long[] jArr) {
|
||||
Intrinsics.checkNotNullParameter(jArr, "<this>");
|
||||
return jArr.length;
|
||||
}
|
||||
|
||||
public final void add(long value) {
|
||||
long[] jArr = this.values;
|
||||
int position = getPosition();
|
||||
setPosition(position + 1);
|
||||
jArr[position] = value;
|
||||
}
|
||||
|
||||
public final long[] toArray() {
|
||||
return toArray(this.values, new long[size()]);
|
||||
}
|
||||
}
|
@ -0,0 +1,58 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class MagicApiIntrinsics {
|
||||
public static <T> T anyMagicApiCall(int i) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static <T> T anyMagicApiCall(int i, long j, long j2, Object obj) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static <T> T anyMagicApiCall(int i, long j, Object obj) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static <T> T anyMagicApiCall(int i, Object obj, Object obj2) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static <T> T anyMagicApiCall(int i, Object obj, Object obj2, Object obj3, Object obj4) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static <T> T anyMagicApiCall(Object obj) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static int intMagicApiCall(int i) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public static int intMagicApiCall(int i, long j, long j2, Object obj) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public static int intMagicApiCall(int i, long j, Object obj) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public static int intMagicApiCall(int i, Object obj, Object obj2) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public static int intMagicApiCall(int i, Object obj, Object obj2, Object obj3, Object obj4) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public static int intMagicApiCall(Object obj) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public static void voidMagicApiCall(int i) {
|
||||
}
|
||||
|
||||
public static void voidMagicApiCall(Object obj) {
|
||||
}
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.KotlinNothingValueException;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.reflect.KDeclarationContainer;
|
||||
|
||||
/* compiled from: localVariableReferences.kt */
|
||||
@Metadata(d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0002\b\u0017\u0018\u00002\u00020\u0001B\u0005¢\u0006\u0002\u0010\u0002J\n\u0010\u0003\u001a\u0004\u0018\u00010\u0004H\u0016J\b\u0010\u0005\u001a\u00020\u0006H\u0016J\u0012\u0010\u0007\u001a\u00020\b2\b\u0010\t\u001a\u0004\u0018\u00010\u0004H\u0016¨\u0006\n"}, d2 = {"Lkotlin/jvm/internal/MutableLocalVariableReference;", "Lkotlin/jvm/internal/MutablePropertyReference0;", "()V", "get", "", "getOwner", "Lkotlin/reflect/KDeclarationContainer;", "set", "", "value", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public class MutableLocalVariableReference extends MutablePropertyReference0 {
|
||||
@Override // kotlin.jvm.internal.CallableReference
|
||||
public KDeclarationContainer getOwner() {
|
||||
LocalVariableReferencesKt.notSupportedError();
|
||||
throw new KotlinNothingValueException();
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KProperty0
|
||||
public Object get() {
|
||||
LocalVariableReferencesKt.notSupportedError();
|
||||
throw new KotlinNothingValueException();
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KMutableProperty0
|
||||
public void set(Object value) {
|
||||
LocalVariableReferencesKt.notSupportedError();
|
||||
throw new KotlinNothingValueException();
|
||||
}
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.reflect.KMutableProperty;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class MutablePropertyReference extends PropertyReference implements KMutableProperty {
|
||||
public MutablePropertyReference() {
|
||||
}
|
||||
|
||||
public MutablePropertyReference(Object obj) {
|
||||
super(obj);
|
||||
}
|
||||
|
||||
public MutablePropertyReference(Object obj, Class cls, String str, String str2, int i) {
|
||||
super(obj, cls, str, str2, i);
|
||||
}
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.reflect.KCallable;
|
||||
import kotlin.reflect.KMutableProperty0;
|
||||
import kotlin.reflect.KProperty0;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class MutablePropertyReference0 extends MutablePropertyReference implements KMutableProperty0 {
|
||||
public MutablePropertyReference0() {
|
||||
}
|
||||
|
||||
public MutablePropertyReference0(Object obj) {
|
||||
super(obj);
|
||||
}
|
||||
|
||||
public MutablePropertyReference0(Object obj, Class cls, String str, String str2, int i) {
|
||||
super(obj, cls, str, str2, i);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.internal.CallableReference
|
||||
protected KCallable computeReflected() {
|
||||
return Reflection.mutableProperty0(this);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function0
|
||||
public Object invoke() {
|
||||
return get();
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KProperty
|
||||
public KProperty0.Getter getGetter() {
|
||||
return ((KMutableProperty0) getReflected()).getGetter();
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KMutableProperty
|
||||
public KMutableProperty0.Setter getSetter() {
|
||||
return ((KMutableProperty0) getReflected()).getSetter();
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KProperty0
|
||||
public Object getDelegate() {
|
||||
return ((KMutableProperty0) getReflected()).getDelegate();
|
||||
}
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.reflect.KClass;
|
||||
import kotlin.reflect.KDeclarationContainer;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class MutablePropertyReference0Impl extends MutablePropertyReference0 {
|
||||
public MutablePropertyReference0Impl(KDeclarationContainer kDeclarationContainer, String str, String str2) {
|
||||
super(NO_RECEIVER, ((ClassBasedDeclarationContainer) kDeclarationContainer).getJClass(), str, str2, !(kDeclarationContainer instanceof KClass) ? 1 : 0);
|
||||
}
|
||||
|
||||
public MutablePropertyReference0Impl(Class cls, String str, String str2, int i) {
|
||||
super(NO_RECEIVER, cls, str, str2, i);
|
||||
}
|
||||
|
||||
public MutablePropertyReference0Impl(Object obj, Class cls, String str, String str2, int i) {
|
||||
super(obj, cls, str, str2, i);
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KProperty0
|
||||
public Object get() {
|
||||
return getGetter().call(new Object[0]);
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KMutableProperty0
|
||||
public void set(Object obj) {
|
||||
getSetter().call(obj);
|
||||
}
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.reflect.KCallable;
|
||||
import kotlin.reflect.KMutableProperty1;
|
||||
import kotlin.reflect.KProperty1;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class MutablePropertyReference1 extends MutablePropertyReference implements KMutableProperty1 {
|
||||
public MutablePropertyReference1() {
|
||||
}
|
||||
|
||||
public MutablePropertyReference1(Object obj) {
|
||||
super(obj);
|
||||
}
|
||||
|
||||
public MutablePropertyReference1(Object obj, Class cls, String str, String str2, int i) {
|
||||
super(obj, cls, str, str2, i);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.internal.CallableReference
|
||||
protected KCallable computeReflected() {
|
||||
return Reflection.mutableProperty1(this);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function1
|
||||
public Object invoke(Object obj) {
|
||||
return get(obj);
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KProperty
|
||||
public KProperty1.Getter getGetter() {
|
||||
return ((KMutableProperty1) getReflected()).getGetter();
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KMutableProperty
|
||||
public KMutableProperty1.Setter getSetter() {
|
||||
return ((KMutableProperty1) getReflected()).getSetter();
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KProperty1
|
||||
public Object getDelegate(Object obj) {
|
||||
return ((KMutableProperty1) getReflected()).getDelegate(obj);
|
||||
}
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.reflect.KClass;
|
||||
import kotlin.reflect.KDeclarationContainer;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class MutablePropertyReference1Impl extends MutablePropertyReference1 {
|
||||
public MutablePropertyReference1Impl(KDeclarationContainer kDeclarationContainer, String str, String str2) {
|
||||
super(NO_RECEIVER, ((ClassBasedDeclarationContainer) kDeclarationContainer).getJClass(), str, str2, !(kDeclarationContainer instanceof KClass) ? 1 : 0);
|
||||
}
|
||||
|
||||
public MutablePropertyReference1Impl(Class cls, String str, String str2, int i) {
|
||||
super(NO_RECEIVER, cls, str, str2, i);
|
||||
}
|
||||
|
||||
public MutablePropertyReference1Impl(Object obj, Class cls, String str, String str2, int i) {
|
||||
super(obj, cls, str, str2, i);
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KProperty1
|
||||
public Object get(Object obj) {
|
||||
return getGetter().call(obj);
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KMutableProperty1
|
||||
public void set(Object obj, Object obj2) {
|
||||
getSetter().call(obj, obj2);
|
||||
}
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.reflect.KCallable;
|
||||
import kotlin.reflect.KMutableProperty2;
|
||||
import kotlin.reflect.KProperty2;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class MutablePropertyReference2 extends MutablePropertyReference implements KMutableProperty2 {
|
||||
public MutablePropertyReference2() {
|
||||
}
|
||||
|
||||
public MutablePropertyReference2(Class cls, String str, String str2, int i) {
|
||||
super(NO_RECEIVER, cls, str, str2, i);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.internal.CallableReference
|
||||
protected KCallable computeReflected() {
|
||||
return Reflection.mutableProperty2(this);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function2
|
||||
public Object invoke(Object obj, Object obj2) {
|
||||
return get(obj, obj2);
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KProperty
|
||||
public KProperty2.Getter getGetter() {
|
||||
return ((KMutableProperty2) getReflected()).getGetter();
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KMutableProperty
|
||||
public KMutableProperty2.Setter getSetter() {
|
||||
return ((KMutableProperty2) getReflected()).getSetter();
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KProperty2
|
||||
public Object getDelegate(Object obj, Object obj2) {
|
||||
return ((KMutableProperty2) getReflected()).getDelegate(obj, obj2);
|
||||
}
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.reflect.KClass;
|
||||
import kotlin.reflect.KDeclarationContainer;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class MutablePropertyReference2Impl extends MutablePropertyReference2 {
|
||||
public MutablePropertyReference2Impl(KDeclarationContainer kDeclarationContainer, String str, String str2) {
|
||||
super(((ClassBasedDeclarationContainer) kDeclarationContainer).getJClass(), str, str2, !(kDeclarationContainer instanceof KClass) ? 1 : 0);
|
||||
}
|
||||
|
||||
public MutablePropertyReference2Impl(Class cls, String str, String str2, int i) {
|
||||
super(cls, str, str2, i);
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KProperty2
|
||||
public Object get(Object obj, Object obj2) {
|
||||
return getGetter().call(obj, obj2);
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KMutableProperty2
|
||||
public void set(Object obj, Object obj2, Object obj3) {
|
||||
getSetter().call(obj, obj2, obj3);
|
||||
}
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import java.util.Collection;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.KotlinReflectionNotSupportedError;
|
||||
import kotlin.reflect.KCallable;
|
||||
|
||||
/* compiled from: PackageReference.kt */
|
||||
@Metadata(d1 = {"\u00008\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0004\n\u0002\u0010\u001e\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\b\u0007\u0018\u00002\u00020\u0001B\u0019\u0012\n\u0010\u0002\u001a\u0006\u0012\u0002\b\u00030\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005¢\u0006\u0002\u0010\u0006J\u0013\u0010\u000e\u001a\u00020\u000f2\b\u0010\u0010\u001a\u0004\u0018\u00010\u0011H\u0096\u0002J\b\u0010\u0012\u001a\u00020\u0013H\u0016J\b\u0010\u0014\u001a\u00020\u0005H\u0016R\u0018\u0010\u0002\u001a\u0006\u0012\u0002\b\u00030\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\bR\u001e\u0010\t\u001a\f\u0012\b\u0012\u0006\u0012\u0002\b\u00030\u000b0\n8VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\f\u0010\rR\u000e\u0010\u0004\u001a\u00020\u0005X\u0082\u0004¢\u0006\u0002\n\u0000¨\u0006\u0015"}, d2 = {"Lkotlin/jvm/internal/PackageReference;", "Lkotlin/jvm/internal/ClassBasedDeclarationContainer;", "jClass", "Ljava/lang/Class;", "moduleName", "", "(Ljava/lang/Class;Ljava/lang/String;)V", "getJClass", "()Ljava/lang/Class;", "members", "", "Lkotlin/reflect/KCallable;", "getMembers", "()Ljava/util/Collection;", "equals", "", "other", "", "hashCode", "", "toString", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class PackageReference implements ClassBasedDeclarationContainer {
|
||||
private final Class<?> jClass;
|
||||
private final String moduleName;
|
||||
|
||||
@Override // kotlin.jvm.internal.ClassBasedDeclarationContainer
|
||||
public Class<?> getJClass() {
|
||||
return this.jClass;
|
||||
}
|
||||
|
||||
public PackageReference(Class<?> jClass, String moduleName) {
|
||||
Intrinsics.checkNotNullParameter(jClass, "jClass");
|
||||
Intrinsics.checkNotNullParameter(moduleName, "moduleName");
|
||||
this.jClass = jClass;
|
||||
this.moduleName = moduleName;
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KDeclarationContainer
|
||||
public Collection<KCallable<?>> getMembers() {
|
||||
throw new KotlinReflectionNotSupportedError();
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
return (other instanceof PackageReference) && Intrinsics.areEqual(getJClass(), ((PackageReference) other).getJClass());
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return getJClass().hashCode();
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return getJClass().toString() + " (Kotlin reflection is not available)";
|
||||
}
|
||||
}
|
@ -0,0 +1,79 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.ranges.IntRange;
|
||||
|
||||
/* compiled from: PrimitiveSpreadBuilders.kt */
|
||||
@Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0006\n\u0002\u0010\u0011\n\u0002\b\u0004\n\u0002\u0010\u0002\n\u0002\b\t\b&\u0018\u0000*\b\b\u0000\u0010\u0001*\u00020\u00022\u00020\u0002B\r\u0012\u0006\u0010\u0003\u001a\u00020\u0004¢\u0006\u0002\u0010\u0005J\u0013\u0010\u000f\u001a\u00020\u00102\u0006\u0010\u0011\u001a\u00028\u0000¢\u0006\u0002\u0010\u0012J\b\u0010\u0003\u001a\u00020\u0004H\u0004J\u001d\u0010\u0013\u001a\u00028\u00002\u0006\u0010\u0014\u001a\u00028\u00002\u0006\u0010\u0015\u001a\u00028\u0000H\u0004¢\u0006\u0002\u0010\u0016J\u0011\u0010\u0017\u001a\u00020\u0004*\u00028\u0000H$¢\u0006\u0002\u0010\u0018R\u001a\u0010\u0006\u001a\u00020\u0004X\u0084\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\u0007\u0010\b\"\u0004\b\t\u0010\u0005R\u000e\u0010\u0003\u001a\u00020\u0004X\u0082\u0004¢\u0006\u0002\n\u0000R\u001e\u0010\n\u001a\n\u0012\u0006\u0012\u0004\u0018\u00018\u00000\u000bX\u0082\u0004¢\u0006\n\n\u0002\u0010\u000e\u0012\u0004\b\f\u0010\r¨\u0006\u0019"}, d2 = {"Lkotlin/jvm/internal/PrimitiveSpreadBuilder;", "T", "", "size", "", "(I)V", "position", "getPosition", "()I", "setPosition", "spreads", "", "getSpreads$annotations", "()V", "[Ljava/lang/Object;", "addSpread", "", "spreadArgument", "(Ljava/lang/Object;)V", "toArray", "values", "result", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;", "getSize", "(Ljava/lang/Object;)I", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class PrimitiveSpreadBuilder<T> {
|
||||
private int position;
|
||||
private final int size;
|
||||
private final T[] spreads;
|
||||
|
||||
private static /* synthetic */ void getSpreads$annotations() {
|
||||
}
|
||||
|
||||
protected final int getPosition() {
|
||||
return this.position;
|
||||
}
|
||||
|
||||
protected abstract int getSize(T t);
|
||||
|
||||
protected final void setPosition(int i) {
|
||||
this.position = i;
|
||||
}
|
||||
|
||||
public PrimitiveSpreadBuilder(int i) {
|
||||
this.size = i;
|
||||
this.spreads = (T[]) new Object[i];
|
||||
}
|
||||
|
||||
public final void addSpread(T spreadArgument) {
|
||||
Intrinsics.checkNotNullParameter(spreadArgument, "spreadArgument");
|
||||
T[] tArr = this.spreads;
|
||||
int i = this.position;
|
||||
this.position = i + 1;
|
||||
tArr[i] = spreadArgument;
|
||||
}
|
||||
|
||||
/* JADX WARN: Type inference failed for: r0v1, types: [kotlin.collections.IntIterator] */
|
||||
protected final int size() {
|
||||
int i = 0;
|
||||
?? it = new IntRange(0, this.size - 1).iterator();
|
||||
while (it.hasNext()) {
|
||||
T t = this.spreads[it.nextInt()];
|
||||
i += t != null ? getSize(t) : 1;
|
||||
}
|
||||
return i;
|
||||
}
|
||||
|
||||
/* JADX WARN: Type inference failed for: r0v3, types: [kotlin.collections.IntIterator] */
|
||||
protected final T toArray(T values, T result) {
|
||||
Intrinsics.checkNotNullParameter(values, "values");
|
||||
Intrinsics.checkNotNullParameter(result, "result");
|
||||
?? it = new IntRange(0, this.size - 1).iterator();
|
||||
int i = 0;
|
||||
int i2 = 0;
|
||||
while (it.hasNext()) {
|
||||
int nextInt = it.nextInt();
|
||||
T t = this.spreads[nextInt];
|
||||
if (t != null) {
|
||||
if (i < nextInt) {
|
||||
int i3 = nextInt - i;
|
||||
System.arraycopy(values, i, result, i2, i3);
|
||||
i2 += i3;
|
||||
}
|
||||
int size = getSize(t);
|
||||
System.arraycopy(t, 0, result, i2, size);
|
||||
i2 += size;
|
||||
i = nextInt + 1;
|
||||
}
|
||||
}
|
||||
int i4 = this.size;
|
||||
if (i < i4) {
|
||||
System.arraycopy(values, i, result, i2, i4 - i);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
}
|
@ -0,0 +1,73 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.reflect.KCallable;
|
||||
import kotlin.reflect.KProperty;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class PropertyReference extends CallableReference implements KProperty {
|
||||
private final boolean syntheticJavaProperty;
|
||||
|
||||
public PropertyReference() {
|
||||
this.syntheticJavaProperty = false;
|
||||
}
|
||||
|
||||
public PropertyReference(Object obj) {
|
||||
super(obj);
|
||||
this.syntheticJavaProperty = false;
|
||||
}
|
||||
|
||||
public PropertyReference(Object obj, Class cls, String str, String str2, int i) {
|
||||
super(obj, cls, str, str2, (i & 1) == 1);
|
||||
this.syntheticJavaProperty = (i & 2) == 2;
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: protected */
|
||||
@Override // kotlin.jvm.internal.CallableReference
|
||||
public KProperty getReflected() {
|
||||
if (this.syntheticJavaProperty) {
|
||||
throw new UnsupportedOperationException("Kotlin reflection is not yet supported for synthetic Java properties");
|
||||
}
|
||||
return (KProperty) super.getReflected();
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.internal.CallableReference
|
||||
public KCallable compute() {
|
||||
return this.syntheticJavaProperty ? this : super.compute();
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KProperty
|
||||
public boolean isLateinit() {
|
||||
return getReflected().isLateinit();
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KProperty
|
||||
public boolean isConst() {
|
||||
return getReflected().isConst();
|
||||
}
|
||||
|
||||
public boolean equals(Object obj) {
|
||||
if (obj == this) {
|
||||
return true;
|
||||
}
|
||||
if (obj instanceof PropertyReference) {
|
||||
PropertyReference propertyReference = (PropertyReference) obj;
|
||||
return getOwner().equals(propertyReference.getOwner()) && getName().equals(propertyReference.getName()) && getSignature().equals(propertyReference.getSignature()) && Intrinsics.areEqual(getBoundReceiver(), propertyReference.getBoundReceiver());
|
||||
}
|
||||
if (obj instanceof KProperty) {
|
||||
return obj.equals(compute());
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return (((getOwner().hashCode() * 31) + getName().hashCode()) * 31) + getSignature().hashCode();
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
KCallable compute = compute();
|
||||
if (compute != this) {
|
||||
return compute.toString();
|
||||
}
|
||||
return "property " + getName() + " (Kotlin reflection is not available)";
|
||||
}
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.reflect.KCallable;
|
||||
import kotlin.reflect.KProperty0;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class PropertyReference0 extends PropertyReference implements KProperty0 {
|
||||
public PropertyReference0() {
|
||||
}
|
||||
|
||||
public PropertyReference0(Object obj) {
|
||||
super(obj);
|
||||
}
|
||||
|
||||
public PropertyReference0(Object obj, Class cls, String str, String str2, int i) {
|
||||
super(obj, cls, str, str2, i);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.internal.CallableReference
|
||||
protected KCallable computeReflected() {
|
||||
return Reflection.property0(this);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function0
|
||||
public Object invoke() {
|
||||
return get();
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KProperty
|
||||
public KProperty0.Getter getGetter() {
|
||||
return ((KProperty0) getReflected()).getGetter();
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KProperty0
|
||||
public Object getDelegate() {
|
||||
return ((KProperty0) getReflected()).getDelegate();
|
||||
}
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.reflect.KClass;
|
||||
import kotlin.reflect.KDeclarationContainer;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class PropertyReference0Impl extends PropertyReference0 {
|
||||
public PropertyReference0Impl(KDeclarationContainer kDeclarationContainer, String str, String str2) {
|
||||
super(NO_RECEIVER, ((ClassBasedDeclarationContainer) kDeclarationContainer).getJClass(), str, str2, !(kDeclarationContainer instanceof KClass) ? 1 : 0);
|
||||
}
|
||||
|
||||
public PropertyReference0Impl(Class cls, String str, String str2, int i) {
|
||||
super(NO_RECEIVER, cls, str, str2, i);
|
||||
}
|
||||
|
||||
public PropertyReference0Impl(Object obj, Class cls, String str, String str2, int i) {
|
||||
super(obj, cls, str, str2, i);
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KProperty0
|
||||
public Object get() {
|
||||
return getGetter().call(new Object[0]);
|
||||
}
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.reflect.KCallable;
|
||||
import kotlin.reflect.KProperty1;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class PropertyReference1 extends PropertyReference implements KProperty1 {
|
||||
public PropertyReference1() {
|
||||
}
|
||||
|
||||
public PropertyReference1(Object obj) {
|
||||
super(obj);
|
||||
}
|
||||
|
||||
public PropertyReference1(Object obj, Class cls, String str, String str2, int i) {
|
||||
super(obj, cls, str, str2, i);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.internal.CallableReference
|
||||
protected KCallable computeReflected() {
|
||||
return Reflection.property1(this);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function1
|
||||
public Object invoke(Object obj) {
|
||||
return get(obj);
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KProperty
|
||||
public KProperty1.Getter getGetter() {
|
||||
return ((KProperty1) getReflected()).getGetter();
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KProperty1
|
||||
public Object getDelegate(Object obj) {
|
||||
return ((KProperty1) getReflected()).getDelegate(obj);
|
||||
}
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.reflect.KClass;
|
||||
import kotlin.reflect.KDeclarationContainer;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class PropertyReference1Impl extends PropertyReference1 {
|
||||
public PropertyReference1Impl(KDeclarationContainer kDeclarationContainer, String str, String str2) {
|
||||
super(NO_RECEIVER, ((ClassBasedDeclarationContainer) kDeclarationContainer).getJClass(), str, str2, !(kDeclarationContainer instanceof KClass) ? 1 : 0);
|
||||
}
|
||||
|
||||
public PropertyReference1Impl(Class cls, String str, String str2, int i) {
|
||||
super(NO_RECEIVER, cls, str, str2, i);
|
||||
}
|
||||
|
||||
public PropertyReference1Impl(Object obj, Class cls, String str, String str2, int i) {
|
||||
super(obj, cls, str, str2, i);
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KProperty1
|
||||
public Object get(Object obj) {
|
||||
return getGetter().call(obj);
|
||||
}
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.reflect.KCallable;
|
||||
import kotlin.reflect.KProperty2;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class PropertyReference2 extends PropertyReference implements KProperty2 {
|
||||
public PropertyReference2() {
|
||||
}
|
||||
|
||||
public PropertyReference2(Class cls, String str, String str2, int i) {
|
||||
super(NO_RECEIVER, cls, str, str2, i);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.internal.CallableReference
|
||||
protected KCallable computeReflected() {
|
||||
return Reflection.property2(this);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function2
|
||||
public Object invoke(Object obj, Object obj2) {
|
||||
return get(obj, obj2);
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KProperty
|
||||
public KProperty2.Getter getGetter() {
|
||||
return ((KProperty2) getReflected()).getGetter();
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KProperty2
|
||||
public Object getDelegate(Object obj, Object obj2) {
|
||||
return ((KProperty2) getReflected()).getDelegate(obj, obj2);
|
||||
}
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.reflect.KClass;
|
||||
import kotlin.reflect.KDeclarationContainer;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class PropertyReference2Impl extends PropertyReference2 {
|
||||
public PropertyReference2Impl(KDeclarationContainer kDeclarationContainer, String str, String str2) {
|
||||
super(((ClassBasedDeclarationContainer) kDeclarationContainer).getJClass(), str, str2, !(kDeclarationContainer instanceof KClass) ? 1 : 0);
|
||||
}
|
||||
|
||||
public PropertyReference2Impl(Class cls, String str, String str2, int i) {
|
||||
super(cls, str, str2, i);
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KProperty2
|
||||
public Object get(Object obj, Object obj2) {
|
||||
return getGetter().call(obj, obj2);
|
||||
}
|
||||
}
|
81
02-Easy5/E5/sources/kotlin/jvm/internal/Ref.java
Normal file
81
02-Easy5/E5/sources/kotlin/jvm/internal/Ref.java
Normal file
@ -0,0 +1,81 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class Ref {
|
||||
private Ref() {
|
||||
}
|
||||
|
||||
public static final class ObjectRef<T> implements Serializable {
|
||||
public T element;
|
||||
|
||||
public String toString() {
|
||||
return String.valueOf(this.element);
|
||||
}
|
||||
}
|
||||
|
||||
public static final class ByteRef implements Serializable {
|
||||
public byte element;
|
||||
|
||||
public String toString() {
|
||||
return String.valueOf((int) this.element);
|
||||
}
|
||||
}
|
||||
|
||||
public static final class ShortRef implements Serializable {
|
||||
public short element;
|
||||
|
||||
public String toString() {
|
||||
return String.valueOf((int) this.element);
|
||||
}
|
||||
}
|
||||
|
||||
public static final class IntRef implements Serializable {
|
||||
public int element;
|
||||
|
||||
public String toString() {
|
||||
return String.valueOf(this.element);
|
||||
}
|
||||
}
|
||||
|
||||
public static final class LongRef implements Serializable {
|
||||
public long element;
|
||||
|
||||
public String toString() {
|
||||
return String.valueOf(this.element);
|
||||
}
|
||||
}
|
||||
|
||||
public static final class FloatRef implements Serializable {
|
||||
public float element;
|
||||
|
||||
public String toString() {
|
||||
return String.valueOf(this.element);
|
||||
}
|
||||
}
|
||||
|
||||
public static final class DoubleRef implements Serializable {
|
||||
public double element;
|
||||
|
||||
public String toString() {
|
||||
return String.valueOf(this.element);
|
||||
}
|
||||
}
|
||||
|
||||
public static final class CharRef implements Serializable {
|
||||
public char element;
|
||||
|
||||
public String toString() {
|
||||
return String.valueOf(this.element);
|
||||
}
|
||||
}
|
||||
|
||||
public static final class BooleanRef implements Serializable {
|
||||
public boolean element;
|
||||
|
||||
public String toString() {
|
||||
return String.valueOf(this.element);
|
||||
}
|
||||
}
|
||||
}
|
175
02-Easy5/E5/sources/kotlin/jvm/internal/Reflection.java
Normal file
175
02-Easy5/E5/sources/kotlin/jvm/internal/Reflection.java
Normal file
@ -0,0 +1,175 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import kotlin.collections.ArraysKt;
|
||||
import kotlin.reflect.KClass;
|
||||
import kotlin.reflect.KClassifier;
|
||||
import kotlin.reflect.KDeclarationContainer;
|
||||
import kotlin.reflect.KFunction;
|
||||
import kotlin.reflect.KMutableProperty0;
|
||||
import kotlin.reflect.KMutableProperty1;
|
||||
import kotlin.reflect.KMutableProperty2;
|
||||
import kotlin.reflect.KProperty0;
|
||||
import kotlin.reflect.KProperty1;
|
||||
import kotlin.reflect.KProperty2;
|
||||
import kotlin.reflect.KType;
|
||||
import kotlin.reflect.KTypeParameter;
|
||||
import kotlin.reflect.KTypeProjection;
|
||||
import kotlin.reflect.KVariance;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class Reflection {
|
||||
private static final KClass[] EMPTY_K_CLASS_ARRAY;
|
||||
static final String REFLECTION_NOT_AVAILABLE = " (Kotlin reflection is not available)";
|
||||
private static final ReflectionFactory factory;
|
||||
|
||||
static {
|
||||
ReflectionFactory reflectionFactory = null;
|
||||
try {
|
||||
reflectionFactory = (ReflectionFactory) Class.forName("kotlin.reflect.jvm.internal.ReflectionFactoryImpl").newInstance();
|
||||
} catch (ClassCastException | ClassNotFoundException | IllegalAccessException | InstantiationException unused) {
|
||||
}
|
||||
if (reflectionFactory == null) {
|
||||
reflectionFactory = new ReflectionFactory();
|
||||
}
|
||||
factory = reflectionFactory;
|
||||
EMPTY_K_CLASS_ARRAY = new KClass[0];
|
||||
}
|
||||
|
||||
public static KClass createKotlinClass(Class cls) {
|
||||
return factory.createKotlinClass(cls);
|
||||
}
|
||||
|
||||
public static KClass createKotlinClass(Class cls, String str) {
|
||||
return factory.createKotlinClass(cls, str);
|
||||
}
|
||||
|
||||
public static KDeclarationContainer getOrCreateKotlinPackage(Class cls) {
|
||||
return factory.getOrCreateKotlinPackage(cls, "");
|
||||
}
|
||||
|
||||
public static KDeclarationContainer getOrCreateKotlinPackage(Class cls, String str) {
|
||||
return factory.getOrCreateKotlinPackage(cls, str);
|
||||
}
|
||||
|
||||
public static KClass getOrCreateKotlinClass(Class cls) {
|
||||
return factory.getOrCreateKotlinClass(cls);
|
||||
}
|
||||
|
||||
public static KClass getOrCreateKotlinClass(Class cls, String str) {
|
||||
return factory.getOrCreateKotlinClass(cls, str);
|
||||
}
|
||||
|
||||
public static KClass[] getOrCreateKotlinClasses(Class[] clsArr) {
|
||||
int length = clsArr.length;
|
||||
if (length == 0) {
|
||||
return EMPTY_K_CLASS_ARRAY;
|
||||
}
|
||||
KClass[] kClassArr = new KClass[length];
|
||||
for (int i = 0; i < length; i++) {
|
||||
kClassArr[i] = getOrCreateKotlinClass(clsArr[i]);
|
||||
}
|
||||
return kClassArr;
|
||||
}
|
||||
|
||||
public static String renderLambdaToString(Lambda lambda) {
|
||||
return factory.renderLambdaToString(lambda);
|
||||
}
|
||||
|
||||
public static String renderLambdaToString(FunctionBase functionBase) {
|
||||
return factory.renderLambdaToString(functionBase);
|
||||
}
|
||||
|
||||
public static KFunction function(FunctionReference functionReference) {
|
||||
return factory.function(functionReference);
|
||||
}
|
||||
|
||||
public static KProperty0 property0(PropertyReference0 propertyReference0) {
|
||||
return factory.property0(propertyReference0);
|
||||
}
|
||||
|
||||
public static KMutableProperty0 mutableProperty0(MutablePropertyReference0 mutablePropertyReference0) {
|
||||
return factory.mutableProperty0(mutablePropertyReference0);
|
||||
}
|
||||
|
||||
public static KProperty1 property1(PropertyReference1 propertyReference1) {
|
||||
return factory.property1(propertyReference1);
|
||||
}
|
||||
|
||||
public static KMutableProperty1 mutableProperty1(MutablePropertyReference1 mutablePropertyReference1) {
|
||||
return factory.mutableProperty1(mutablePropertyReference1);
|
||||
}
|
||||
|
||||
public static KProperty2 property2(PropertyReference2 propertyReference2) {
|
||||
return factory.property2(propertyReference2);
|
||||
}
|
||||
|
||||
public static KMutableProperty2 mutableProperty2(MutablePropertyReference2 mutablePropertyReference2) {
|
||||
return factory.mutableProperty2(mutablePropertyReference2);
|
||||
}
|
||||
|
||||
public static KType typeOf(KClassifier kClassifier) {
|
||||
return factory.typeOf(kClassifier, Collections.emptyList(), false);
|
||||
}
|
||||
|
||||
public static KType typeOf(Class cls) {
|
||||
return factory.typeOf(getOrCreateKotlinClass(cls), Collections.emptyList(), false);
|
||||
}
|
||||
|
||||
public static KType typeOf(Class cls, KTypeProjection kTypeProjection) {
|
||||
return factory.typeOf(getOrCreateKotlinClass(cls), Collections.singletonList(kTypeProjection), false);
|
||||
}
|
||||
|
||||
public static KType typeOf(Class cls, KTypeProjection kTypeProjection, KTypeProjection kTypeProjection2) {
|
||||
return factory.typeOf(getOrCreateKotlinClass(cls), Arrays.asList(kTypeProjection, kTypeProjection2), false);
|
||||
}
|
||||
|
||||
public static KType typeOf(Class cls, KTypeProjection... kTypeProjectionArr) {
|
||||
return factory.typeOf(getOrCreateKotlinClass(cls), ArraysKt.toList(kTypeProjectionArr), false);
|
||||
}
|
||||
|
||||
public static KType nullableTypeOf(KClassifier kClassifier) {
|
||||
return factory.typeOf(kClassifier, Collections.emptyList(), true);
|
||||
}
|
||||
|
||||
public static KType nullableTypeOf(Class cls) {
|
||||
return factory.typeOf(getOrCreateKotlinClass(cls), Collections.emptyList(), true);
|
||||
}
|
||||
|
||||
public static KType nullableTypeOf(Class cls, KTypeProjection kTypeProjection) {
|
||||
return factory.typeOf(getOrCreateKotlinClass(cls), Collections.singletonList(kTypeProjection), true);
|
||||
}
|
||||
|
||||
public static KType nullableTypeOf(Class cls, KTypeProjection kTypeProjection, KTypeProjection kTypeProjection2) {
|
||||
return factory.typeOf(getOrCreateKotlinClass(cls), Arrays.asList(kTypeProjection, kTypeProjection2), true);
|
||||
}
|
||||
|
||||
public static KType nullableTypeOf(Class cls, KTypeProjection... kTypeProjectionArr) {
|
||||
return factory.typeOf(getOrCreateKotlinClass(cls), ArraysKt.toList(kTypeProjectionArr), true);
|
||||
}
|
||||
|
||||
public static KTypeParameter typeParameter(Object obj, String str, KVariance kVariance, boolean z) {
|
||||
return factory.typeParameter(obj, str, kVariance, z);
|
||||
}
|
||||
|
||||
public static void setUpperBounds(KTypeParameter kTypeParameter, KType kType) {
|
||||
factory.setUpperBounds(kTypeParameter, Collections.singletonList(kType));
|
||||
}
|
||||
|
||||
public static void setUpperBounds(KTypeParameter kTypeParameter, KType... kTypeArr) {
|
||||
factory.setUpperBounds(kTypeParameter, ArraysKt.toList(kTypeArr));
|
||||
}
|
||||
|
||||
public static KType platformType(KType kType, KType kType2) {
|
||||
return factory.platformType(kType, kType2);
|
||||
}
|
||||
|
||||
public static KType mutableCollectionType(KType kType) {
|
||||
return factory.mutableCollectionType(kType);
|
||||
}
|
||||
|
||||
public static KType nothingType(KType kType) {
|
||||
return factory.nothingType(kType);
|
||||
}
|
||||
}
|
105
02-Easy5/E5/sources/kotlin/jvm/internal/ReflectionFactory.java
Normal file
105
02-Easy5/E5/sources/kotlin/jvm/internal/ReflectionFactory.java
Normal file
@ -0,0 +1,105 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import java.util.List;
|
||||
import kotlin.reflect.KClass;
|
||||
import kotlin.reflect.KClassifier;
|
||||
import kotlin.reflect.KDeclarationContainer;
|
||||
import kotlin.reflect.KFunction;
|
||||
import kotlin.reflect.KMutableProperty0;
|
||||
import kotlin.reflect.KMutableProperty1;
|
||||
import kotlin.reflect.KMutableProperty2;
|
||||
import kotlin.reflect.KProperty0;
|
||||
import kotlin.reflect.KProperty1;
|
||||
import kotlin.reflect.KProperty2;
|
||||
import kotlin.reflect.KType;
|
||||
import kotlin.reflect.KTypeParameter;
|
||||
import kotlin.reflect.KTypeProjection;
|
||||
import kotlin.reflect.KVariance;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class ReflectionFactory {
|
||||
private static final String KOTLIN_JVM_FUNCTIONS = "kotlin.jvm.functions.";
|
||||
|
||||
public KFunction function(FunctionReference functionReference) {
|
||||
return functionReference;
|
||||
}
|
||||
|
||||
public KMutableProperty0 mutableProperty0(MutablePropertyReference0 mutablePropertyReference0) {
|
||||
return mutablePropertyReference0;
|
||||
}
|
||||
|
||||
public KMutableProperty1 mutableProperty1(MutablePropertyReference1 mutablePropertyReference1) {
|
||||
return mutablePropertyReference1;
|
||||
}
|
||||
|
||||
public KMutableProperty2 mutableProperty2(MutablePropertyReference2 mutablePropertyReference2) {
|
||||
return mutablePropertyReference2;
|
||||
}
|
||||
|
||||
public KProperty0 property0(PropertyReference0 propertyReference0) {
|
||||
return propertyReference0;
|
||||
}
|
||||
|
||||
public KProperty1 property1(PropertyReference1 propertyReference1) {
|
||||
return propertyReference1;
|
||||
}
|
||||
|
||||
public KProperty2 property2(PropertyReference2 propertyReference2) {
|
||||
return propertyReference2;
|
||||
}
|
||||
|
||||
public KClass createKotlinClass(Class cls) {
|
||||
return new ClassReference(cls);
|
||||
}
|
||||
|
||||
public KClass createKotlinClass(Class cls, String str) {
|
||||
return new ClassReference(cls);
|
||||
}
|
||||
|
||||
public KDeclarationContainer getOrCreateKotlinPackage(Class cls, String str) {
|
||||
return new PackageReference(cls, str);
|
||||
}
|
||||
|
||||
public KClass getOrCreateKotlinClass(Class cls) {
|
||||
return new ClassReference(cls);
|
||||
}
|
||||
|
||||
public KClass getOrCreateKotlinClass(Class cls, String str) {
|
||||
return new ClassReference(cls);
|
||||
}
|
||||
|
||||
public String renderLambdaToString(Lambda lambda) {
|
||||
return renderLambdaToString((FunctionBase) lambda);
|
||||
}
|
||||
|
||||
public String renderLambdaToString(FunctionBase functionBase) {
|
||||
String obj = functionBase.getClass().getGenericInterfaces()[0].toString();
|
||||
return obj.startsWith(KOTLIN_JVM_FUNCTIONS) ? obj.substring(21) : obj;
|
||||
}
|
||||
|
||||
public KType typeOf(KClassifier kClassifier, List<KTypeProjection> list, boolean z) {
|
||||
return new TypeReference(kClassifier, list, z);
|
||||
}
|
||||
|
||||
public KTypeParameter typeParameter(Object obj, String str, KVariance kVariance, boolean z) {
|
||||
return new TypeParameterReference(obj, str, kVariance, z);
|
||||
}
|
||||
|
||||
public void setUpperBounds(KTypeParameter kTypeParameter, List<KType> list) {
|
||||
((TypeParameterReference) kTypeParameter).setUpperBounds(list);
|
||||
}
|
||||
|
||||
public KType platformType(KType kType, KType kType2) {
|
||||
return new TypeReference(kType.getClassifier(), kType.getArguments(), kType2, ((TypeReference) kType).getFlags());
|
||||
}
|
||||
|
||||
public KType mutableCollectionType(KType kType) {
|
||||
TypeReference typeReference = (TypeReference) kType;
|
||||
return new TypeReference(kType.getClassifier(), kType.getArguments(), typeReference.getPlatformTypeUpperBound(), typeReference.getFlags() | 2);
|
||||
}
|
||||
|
||||
public KType nothingType(KType kType) {
|
||||
TypeReference typeReference = (TypeReference) kType;
|
||||
return new TypeReference(kType.getClassifier(), kType.getArguments(), typeReference.getPlatformTypeUpperBound(), typeReference.getFlags() | 4);
|
||||
}
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target({ElementType.ANNOTATION_TYPE})
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
/* loaded from: classes.dex */
|
||||
public @interface RepeatableContainer {
|
||||
}
|
20
02-Easy5/E5/sources/kotlin/jvm/internal/SerializedIr.java
Normal file
20
02-Easy5/E5/sources/kotlin/jvm/internal/SerializedIr.java
Normal file
@ -0,0 +1,20 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.annotation.AnnotationRetention;
|
||||
import kotlin.annotation.AnnotationTarget;
|
||||
|
||||
/* compiled from: SerializedIr.kt */
|
||||
@Target({ElementType.TYPE})
|
||||
@Metadata(d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0010\u001b\n\u0000\n\u0002\u0010\u0011\n\u0002\u0010\u000e\n\u0002\b\u0003\b\u0087\u0002\u0018\u00002\u00020\u0001B\u0010\u0012\u000e\b\u0002\u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00040\u0003R\u0017\u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00040\u00038\u0007¢\u0006\u0006\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0007"}, d2 = {"Lkotlin/jvm/internal/SerializedIr;", "", "bytes", "", "", "b", "()[Ljava/lang/String;", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.CLASS})
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
@kotlin.annotation.Retention(AnnotationRetention.BINARY)
|
||||
/* loaded from: classes.dex */
|
||||
public @interface SerializedIr {
|
||||
String[] b() default {};
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: PrimitiveCompanionObjects.kt */
|
||||
@Metadata(d1 = {"\u0000\u001c\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\n\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0004\bÀ\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u000e\u0010\u0003\u001a\u00020\u0004X\u0086T¢\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0004X\u0086T¢\u0006\u0002\n\u0000R\u0016\u0010\u0006\u001a\u00020\u00078\u0006X\u0087T¢\u0006\b\n\u0000\u0012\u0004\b\b\u0010\u0002R\u0016\u0010\t\u001a\u00020\u00078\u0006X\u0087T¢\u0006\b\n\u0000\u0012\u0004\b\n\u0010\u0002¨\u0006\u000b"}, d2 = {"Lkotlin/jvm/internal/ShortCompanionObject;", "", "()V", "MAX_VALUE", "", "MIN_VALUE", "SIZE_BITS", "", "getSIZE_BITS$annotations", "SIZE_BYTES", "getSIZE_BYTES$annotations", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class ShortCompanionObject {
|
||||
public static final ShortCompanionObject INSTANCE = new ShortCompanionObject();
|
||||
public static final short MAX_VALUE = Short.MAX_VALUE;
|
||||
public static final short MIN_VALUE = Short.MIN_VALUE;
|
||||
public static final int SIZE_BITS = 16;
|
||||
public static final int SIZE_BYTES = 2;
|
||||
|
||||
public static /* synthetic */ void getSIZE_BITS$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void getSIZE_BYTES$annotations() {
|
||||
}
|
||||
|
||||
private ShortCompanionObject() {
|
||||
}
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: PrimitiveSpreadBuilders.kt */
|
||||
@Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0017\n\u0000\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\n\n\u0002\b\u0003\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001B\r\u0012\u0006\u0010\u0003\u001a\u00020\u0004¢\u0006\u0002\u0010\u0005J\u000e\u0010\u0007\u001a\u00020\b2\u0006\u0010\t\u001a\u00020\nJ\u0006\u0010\u000b\u001a\u00020\u0002J\f\u0010\f\u001a\u00020\u0004*\u00020\u0002H\u0014R\u000e\u0010\u0006\u001a\u00020\u0002X\u0082\u0004¢\u0006\u0002\n\u0000¨\u0006\r"}, d2 = {"Lkotlin/jvm/internal/ShortSpreadBuilder;", "Lkotlin/jvm/internal/PrimitiveSpreadBuilder;", "", "size", "", "(I)V", "values", "add", "", "value", "", "toArray", "getSize", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class ShortSpreadBuilder extends PrimitiveSpreadBuilder<short[]> {
|
||||
private final short[] values;
|
||||
|
||||
public ShortSpreadBuilder(int i) {
|
||||
super(i);
|
||||
this.values = new short[i];
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: protected */
|
||||
@Override // kotlin.jvm.internal.PrimitiveSpreadBuilder
|
||||
public int getSize(short[] sArr) {
|
||||
Intrinsics.checkNotNullParameter(sArr, "<this>");
|
||||
return sArr.length;
|
||||
}
|
||||
|
||||
public final void add(short value) {
|
||||
short[] sArr = this.values;
|
||||
int position = getPosition();
|
||||
setPosition(position + 1);
|
||||
sArr[position] = value;
|
||||
}
|
||||
|
||||
public final short[] toArray() {
|
||||
return toArray(this.values, new short[size()]);
|
||||
}
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.annotation.AnnotationRetention;
|
||||
import kotlin.annotation.AnnotationTarget;
|
||||
|
||||
/* compiled from: SourceDebugExtension.kt */
|
||||
@Target({ElementType.TYPE})
|
||||
@Metadata(d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0010\u001b\n\u0000\n\u0002\u0010\u0011\n\u0002\u0010\u000e\n\u0002\b\u0002\b\u0087\u0002\u0018\u00002\u00020\u0001B\u000e\u0012\f\u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00040\u0003R\u0015\u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00040\u0003¢\u0006\u0006\u001a\u0004\b\u0002\u0010\u0005¨\u0006\u0006"}, d2 = {"Lkotlin/jvm/internal/SourceDebugExtension;", "", "value", "", "", "()[Ljava/lang/String;", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.CLASS})
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
@kotlin.annotation.Retention(AnnotationRetention.BINARY)
|
||||
/* loaded from: classes.dex */
|
||||
public @interface SourceDebugExtension {
|
||||
String[] value();
|
||||
}
|
62
02-Easy5/E5/sources/kotlin/jvm/internal/SpreadBuilder.java
Normal file
62
02-Easy5/E5/sources/kotlin/jvm/internal/SpreadBuilder.java
Normal file
@ -0,0 +1,62 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.Collections;
|
||||
import java.util.Iterator;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class SpreadBuilder {
|
||||
private final ArrayList<Object> list;
|
||||
|
||||
public SpreadBuilder(int i) {
|
||||
this.list = new ArrayList<>(i);
|
||||
}
|
||||
|
||||
public void addSpread(Object obj) {
|
||||
if (obj == null) {
|
||||
return;
|
||||
}
|
||||
if (obj instanceof Object[]) {
|
||||
Object[] objArr = (Object[]) obj;
|
||||
if (objArr.length > 0) {
|
||||
ArrayList<Object> arrayList = this.list;
|
||||
arrayList.ensureCapacity(arrayList.size() + objArr.length);
|
||||
Collections.addAll(this.list, objArr);
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (obj instanceof Collection) {
|
||||
this.list.addAll((Collection) obj);
|
||||
return;
|
||||
}
|
||||
if (obj instanceof Iterable) {
|
||||
Iterator it = ((Iterable) obj).iterator();
|
||||
while (it.hasNext()) {
|
||||
this.list.add(it.next());
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (obj instanceof Iterator) {
|
||||
Iterator it2 = (Iterator) obj;
|
||||
while (it2.hasNext()) {
|
||||
this.list.add(it2.next());
|
||||
}
|
||||
} else {
|
||||
throw new UnsupportedOperationException("Don't know how to spread " + obj.getClass());
|
||||
}
|
||||
}
|
||||
|
||||
public int size() {
|
||||
return this.list.size();
|
||||
}
|
||||
|
||||
public void add(Object obj) {
|
||||
this.list.add(obj);
|
||||
}
|
||||
|
||||
public Object[] toArray(Object[] objArr) {
|
||||
return this.list.toArray(objArr);
|
||||
}
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: PrimitiveCompanionObjects.kt */
|
||||
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\bÀ\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002¨\u0006\u0003"}, d2 = {"Lkotlin/jvm/internal/StringCompanionObject;", "", "()V", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class StringCompanionObject {
|
||||
public static final StringCompanionObject INSTANCE = new StringCompanionObject();
|
||||
|
||||
private StringCompanionObject() {
|
||||
}
|
||||
}
|
358
02-Easy5/E5/sources/kotlin/jvm/internal/TypeIntrinsics.java
Normal file
358
02-Easy5/E5/sources/kotlin/jvm/internal/TypeIntrinsics.java
Normal file
@ -0,0 +1,358 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.ListIterator;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import kotlin.Function;
|
||||
import kotlin.jvm.functions.Function0;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
import kotlin.jvm.functions.Function10;
|
||||
import kotlin.jvm.functions.Function11;
|
||||
import kotlin.jvm.functions.Function12;
|
||||
import kotlin.jvm.functions.Function13;
|
||||
import kotlin.jvm.functions.Function14;
|
||||
import kotlin.jvm.functions.Function15;
|
||||
import kotlin.jvm.functions.Function16;
|
||||
import kotlin.jvm.functions.Function17;
|
||||
import kotlin.jvm.functions.Function18;
|
||||
import kotlin.jvm.functions.Function19;
|
||||
import kotlin.jvm.functions.Function2;
|
||||
import kotlin.jvm.functions.Function20;
|
||||
import kotlin.jvm.functions.Function21;
|
||||
import kotlin.jvm.functions.Function22;
|
||||
import kotlin.jvm.functions.Function3;
|
||||
import kotlin.jvm.functions.Function4;
|
||||
import kotlin.jvm.functions.Function5;
|
||||
import kotlin.jvm.functions.Function6;
|
||||
import kotlin.jvm.functions.Function7;
|
||||
import kotlin.jvm.functions.Function8;
|
||||
import kotlin.jvm.functions.Function9;
|
||||
import kotlin.jvm.internal.markers.KMappedMarker;
|
||||
import kotlin.jvm.internal.markers.KMutableCollection;
|
||||
import kotlin.jvm.internal.markers.KMutableIterable;
|
||||
import kotlin.jvm.internal.markers.KMutableIterator;
|
||||
import kotlin.jvm.internal.markers.KMutableList;
|
||||
import kotlin.jvm.internal.markers.KMutableListIterator;
|
||||
import kotlin.jvm.internal.markers.KMutableMap;
|
||||
import kotlin.jvm.internal.markers.KMutableSet;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class TypeIntrinsics {
|
||||
private static <T extends Throwable> T sanitizeStackTrace(T t) {
|
||||
return (T) Intrinsics.sanitizeStackTrace(t, TypeIntrinsics.class.getName());
|
||||
}
|
||||
|
||||
public static void throwCce(Object obj, String str) {
|
||||
throwCce((obj == null ? "null" : obj.getClass().getName()) + " cannot be cast to " + str);
|
||||
}
|
||||
|
||||
public static void throwCce(String str) {
|
||||
throw throwCce(new ClassCastException(str));
|
||||
}
|
||||
|
||||
public static ClassCastException throwCce(ClassCastException classCastException) {
|
||||
throw ((ClassCastException) sanitizeStackTrace(classCastException));
|
||||
}
|
||||
|
||||
public static boolean isMutableIterator(Object obj) {
|
||||
return (obj instanceof Iterator) && (!(obj instanceof KMappedMarker) || (obj instanceof KMutableIterator));
|
||||
}
|
||||
|
||||
public static Iterator asMutableIterator(Object obj) {
|
||||
if ((obj instanceof KMappedMarker) && !(obj instanceof KMutableIterator)) {
|
||||
throwCce(obj, "kotlin.collections.MutableIterator");
|
||||
}
|
||||
return castToIterator(obj);
|
||||
}
|
||||
|
||||
public static Iterator asMutableIterator(Object obj, String str) {
|
||||
if ((obj instanceof KMappedMarker) && !(obj instanceof KMutableIterator)) {
|
||||
throwCce(str);
|
||||
}
|
||||
return castToIterator(obj);
|
||||
}
|
||||
|
||||
public static Iterator castToIterator(Object obj) {
|
||||
try {
|
||||
return (Iterator) obj;
|
||||
} catch (ClassCastException e) {
|
||||
throw throwCce(e);
|
||||
}
|
||||
}
|
||||
|
||||
public static boolean isMutableListIterator(Object obj) {
|
||||
return (obj instanceof ListIterator) && (!(obj instanceof KMappedMarker) || (obj instanceof KMutableListIterator));
|
||||
}
|
||||
|
||||
public static ListIterator asMutableListIterator(Object obj) {
|
||||
if ((obj instanceof KMappedMarker) && !(obj instanceof KMutableListIterator)) {
|
||||
throwCce(obj, "kotlin.collections.MutableListIterator");
|
||||
}
|
||||
return castToListIterator(obj);
|
||||
}
|
||||
|
||||
public static ListIterator asMutableListIterator(Object obj, String str) {
|
||||
if ((obj instanceof KMappedMarker) && !(obj instanceof KMutableListIterator)) {
|
||||
throwCce(str);
|
||||
}
|
||||
return castToListIterator(obj);
|
||||
}
|
||||
|
||||
public static ListIterator castToListIterator(Object obj) {
|
||||
try {
|
||||
return (ListIterator) obj;
|
||||
} catch (ClassCastException e) {
|
||||
throw throwCce(e);
|
||||
}
|
||||
}
|
||||
|
||||
public static boolean isMutableIterable(Object obj) {
|
||||
return (obj instanceof Iterable) && (!(obj instanceof KMappedMarker) || (obj instanceof KMutableIterable));
|
||||
}
|
||||
|
||||
public static Iterable asMutableIterable(Object obj) {
|
||||
if ((obj instanceof KMappedMarker) && !(obj instanceof KMutableIterable)) {
|
||||
throwCce(obj, "kotlin.collections.MutableIterable");
|
||||
}
|
||||
return castToIterable(obj);
|
||||
}
|
||||
|
||||
public static Iterable asMutableIterable(Object obj, String str) {
|
||||
if ((obj instanceof KMappedMarker) && !(obj instanceof KMutableIterable)) {
|
||||
throwCce(str);
|
||||
}
|
||||
return castToIterable(obj);
|
||||
}
|
||||
|
||||
public static Iterable castToIterable(Object obj) {
|
||||
try {
|
||||
return (Iterable) obj;
|
||||
} catch (ClassCastException e) {
|
||||
throw throwCce(e);
|
||||
}
|
||||
}
|
||||
|
||||
public static boolean isMutableCollection(Object obj) {
|
||||
return (obj instanceof Collection) && (!(obj instanceof KMappedMarker) || (obj instanceof KMutableCollection));
|
||||
}
|
||||
|
||||
public static Collection asMutableCollection(Object obj) {
|
||||
if ((obj instanceof KMappedMarker) && !(obj instanceof KMutableCollection)) {
|
||||
throwCce(obj, "kotlin.collections.MutableCollection");
|
||||
}
|
||||
return castToCollection(obj);
|
||||
}
|
||||
|
||||
public static Collection asMutableCollection(Object obj, String str) {
|
||||
if ((obj instanceof KMappedMarker) && !(obj instanceof KMutableCollection)) {
|
||||
throwCce(str);
|
||||
}
|
||||
return castToCollection(obj);
|
||||
}
|
||||
|
||||
public static Collection castToCollection(Object obj) {
|
||||
try {
|
||||
return (Collection) obj;
|
||||
} catch (ClassCastException e) {
|
||||
throw throwCce(e);
|
||||
}
|
||||
}
|
||||
|
||||
public static boolean isMutableList(Object obj) {
|
||||
return (obj instanceof List) && (!(obj instanceof KMappedMarker) || (obj instanceof KMutableList));
|
||||
}
|
||||
|
||||
public static List asMutableList(Object obj) {
|
||||
if ((obj instanceof KMappedMarker) && !(obj instanceof KMutableList)) {
|
||||
throwCce(obj, "kotlin.collections.MutableList");
|
||||
}
|
||||
return castToList(obj);
|
||||
}
|
||||
|
||||
public static List asMutableList(Object obj, String str) {
|
||||
if ((obj instanceof KMappedMarker) && !(obj instanceof KMutableList)) {
|
||||
throwCce(str);
|
||||
}
|
||||
return castToList(obj);
|
||||
}
|
||||
|
||||
public static List castToList(Object obj) {
|
||||
try {
|
||||
return (List) obj;
|
||||
} catch (ClassCastException e) {
|
||||
throw throwCce(e);
|
||||
}
|
||||
}
|
||||
|
||||
public static boolean isMutableSet(Object obj) {
|
||||
return (obj instanceof Set) && (!(obj instanceof KMappedMarker) || (obj instanceof KMutableSet));
|
||||
}
|
||||
|
||||
public static Set asMutableSet(Object obj) {
|
||||
if ((obj instanceof KMappedMarker) && !(obj instanceof KMutableSet)) {
|
||||
throwCce(obj, "kotlin.collections.MutableSet");
|
||||
}
|
||||
return castToSet(obj);
|
||||
}
|
||||
|
||||
public static Set asMutableSet(Object obj, String str) {
|
||||
if ((obj instanceof KMappedMarker) && !(obj instanceof KMutableSet)) {
|
||||
throwCce(str);
|
||||
}
|
||||
return castToSet(obj);
|
||||
}
|
||||
|
||||
public static Set castToSet(Object obj) {
|
||||
try {
|
||||
return (Set) obj;
|
||||
} catch (ClassCastException e) {
|
||||
throw throwCce(e);
|
||||
}
|
||||
}
|
||||
|
||||
public static boolean isMutableMap(Object obj) {
|
||||
return (obj instanceof Map) && (!(obj instanceof KMappedMarker) || (obj instanceof KMutableMap));
|
||||
}
|
||||
|
||||
public static Map asMutableMap(Object obj) {
|
||||
if ((obj instanceof KMappedMarker) && !(obj instanceof KMutableMap)) {
|
||||
throwCce(obj, "kotlin.collections.MutableMap");
|
||||
}
|
||||
return castToMap(obj);
|
||||
}
|
||||
|
||||
public static Map asMutableMap(Object obj, String str) {
|
||||
if ((obj instanceof KMappedMarker) && !(obj instanceof KMutableMap)) {
|
||||
throwCce(str);
|
||||
}
|
||||
return castToMap(obj);
|
||||
}
|
||||
|
||||
public static Map castToMap(Object obj) {
|
||||
try {
|
||||
return (Map) obj;
|
||||
} catch (ClassCastException e) {
|
||||
throw throwCce(e);
|
||||
}
|
||||
}
|
||||
|
||||
public static boolean isMutableMapEntry(Object obj) {
|
||||
return (obj instanceof Map.Entry) && (!(obj instanceof KMappedMarker) || (obj instanceof KMutableMap.Entry));
|
||||
}
|
||||
|
||||
public static Map.Entry asMutableMapEntry(Object obj) {
|
||||
if ((obj instanceof KMappedMarker) && !(obj instanceof KMutableMap.Entry)) {
|
||||
throwCce(obj, "kotlin.collections.MutableMap.MutableEntry");
|
||||
}
|
||||
return castToMapEntry(obj);
|
||||
}
|
||||
|
||||
public static Map.Entry asMutableMapEntry(Object obj, String str) {
|
||||
if ((obj instanceof KMappedMarker) && !(obj instanceof KMutableMap.Entry)) {
|
||||
throwCce(str);
|
||||
}
|
||||
return castToMapEntry(obj);
|
||||
}
|
||||
|
||||
public static Map.Entry castToMapEntry(Object obj) {
|
||||
try {
|
||||
return (Map.Entry) obj;
|
||||
} catch (ClassCastException e) {
|
||||
throw throwCce(e);
|
||||
}
|
||||
}
|
||||
|
||||
public static int getFunctionArity(Object obj) {
|
||||
if (obj instanceof FunctionBase) {
|
||||
return ((FunctionBase) obj).getArity();
|
||||
}
|
||||
if (obj instanceof Function0) {
|
||||
return 0;
|
||||
}
|
||||
if (obj instanceof Function1) {
|
||||
return 1;
|
||||
}
|
||||
if (obj instanceof Function2) {
|
||||
return 2;
|
||||
}
|
||||
if (obj instanceof Function3) {
|
||||
return 3;
|
||||
}
|
||||
if (obj instanceof Function4) {
|
||||
return 4;
|
||||
}
|
||||
if (obj instanceof Function5) {
|
||||
return 5;
|
||||
}
|
||||
if (obj instanceof Function6) {
|
||||
return 6;
|
||||
}
|
||||
if (obj instanceof Function7) {
|
||||
return 7;
|
||||
}
|
||||
if (obj instanceof Function8) {
|
||||
return 8;
|
||||
}
|
||||
if (obj instanceof Function9) {
|
||||
return 9;
|
||||
}
|
||||
if (obj instanceof Function10) {
|
||||
return 10;
|
||||
}
|
||||
if (obj instanceof Function11) {
|
||||
return 11;
|
||||
}
|
||||
if (obj instanceof Function12) {
|
||||
return 12;
|
||||
}
|
||||
if (obj instanceof Function13) {
|
||||
return 13;
|
||||
}
|
||||
if (obj instanceof Function14) {
|
||||
return 14;
|
||||
}
|
||||
if (obj instanceof Function15) {
|
||||
return 15;
|
||||
}
|
||||
if (obj instanceof Function16) {
|
||||
return 16;
|
||||
}
|
||||
if (obj instanceof Function17) {
|
||||
return 17;
|
||||
}
|
||||
if (obj instanceof Function18) {
|
||||
return 18;
|
||||
}
|
||||
if (obj instanceof Function19) {
|
||||
return 19;
|
||||
}
|
||||
if (obj instanceof Function20) {
|
||||
return 20;
|
||||
}
|
||||
if (obj instanceof Function21) {
|
||||
return 21;
|
||||
}
|
||||
return obj instanceof Function22 ? 22 : -1;
|
||||
}
|
||||
|
||||
public static boolean isFunctionOfArity(Object obj, int i) {
|
||||
return (obj instanceof Function) && getFunctionArity(obj) == i;
|
||||
}
|
||||
|
||||
public static Object beforeCheckcastToFunctionOfArity(Object obj, int i) {
|
||||
if (obj != null && !isFunctionOfArity(obj, i)) {
|
||||
throwCce(obj, "kotlin.jvm.functions.Function" + i);
|
||||
}
|
||||
return obj;
|
||||
}
|
||||
|
||||
public static Object beforeCheckcastToFunctionOfArity(Object obj, int i, String str) {
|
||||
if (obj != null && !isFunctionOfArity(obj, i)) {
|
||||
throwCce(str);
|
||||
}
|
||||
return obj;
|
||||
}
|
||||
}
|
@ -0,0 +1,139 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.collections.CollectionsKt;
|
||||
import kotlin.reflect.KType;
|
||||
import kotlin.reflect.KTypeParameter;
|
||||
import kotlin.reflect.KVariance;
|
||||
|
||||
/* compiled from: TypeParameterReference.kt */
|
||||
@Metadata(d1 = {"\u0000>\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\r\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0003\b\u0007\u0018\u0000 \u001f2\u00020\u0001:\u0001\u001fB'\u0012\b\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0007\u0012\u0006\u0010\b\u001a\u00020\t¢\u0006\u0002\u0010\nJ\u0013\u0010\u0018\u001a\u00020\t2\b\u0010\u0019\u001a\u0004\u0018\u00010\u0003H\u0096\u0002J\b\u0010\u001a\u001a\u00020\u001bH\u0016J\u0014\u0010\u001c\u001a\u00020\u001d2\f\u0010\u0011\u001a\b\u0012\u0004\u0012\u00020\r0\fJ\b\u0010\u001e\u001a\u00020\u0005H\u0016R\u0016\u0010\u000b\u001a\n\u0012\u0004\u0012\u00020\r\u0018\u00010\fX\u0082\u000e¢\u0006\u0002\n\u0000R\u0010\u0010\u0002\u001a\u0004\u0018\u00010\u0003X\u0082\u0004¢\u0006\u0002\n\u0000R\u0014\u0010\b\u001a\u00020\tX\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\u000eR\u0014\u0010\u0004\u001a\u00020\u0005X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u0010R \u0010\u0011\u001a\b\u0012\u0004\u0012\u00020\r0\f8VX\u0096\u0004¢\u0006\f\u0012\u0004\b\u0012\u0010\u0013\u001a\u0004\b\u0014\u0010\u0015R\u0014\u0010\u0006\u001a\u00020\u0007X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0016\u0010\u0017¨\u0006 "}, d2 = {"Lkotlin/jvm/internal/TypeParameterReference;", "Lkotlin/reflect/KTypeParameter;", "container", "", "name", "", "variance", "Lkotlin/reflect/KVariance;", "isReified", "", "(Ljava/lang/Object;Ljava/lang/String;Lkotlin/reflect/KVariance;Z)V", "bounds", "", "Lkotlin/reflect/KType;", "()Z", "getName", "()Ljava/lang/String;", "upperBounds", "getUpperBounds$annotations", "()V", "getUpperBounds", "()Ljava/util/List;", "getVariance", "()Lkotlin/reflect/KVariance;", "equals", "other", "hashCode", "", "setUpperBounds", "", "toString", "Companion", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class TypeParameterReference implements KTypeParameter {
|
||||
|
||||
/* renamed from: Companion, reason: from kotlin metadata */
|
||||
public static final Companion INSTANCE = new Companion(null);
|
||||
private volatile List<? extends KType> bounds;
|
||||
private final Object container;
|
||||
private final boolean isReified;
|
||||
private final String name;
|
||||
private final KVariance variance;
|
||||
|
||||
public static /* synthetic */ void getUpperBounds$annotations() {
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KTypeParameter
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KTypeParameter
|
||||
public KVariance getVariance() {
|
||||
return this.variance;
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KTypeParameter
|
||||
/* renamed from: isReified, reason: from getter */
|
||||
public boolean getIsReified() {
|
||||
return this.isReified;
|
||||
}
|
||||
|
||||
public TypeParameterReference(Object obj, String name, KVariance variance, boolean z) {
|
||||
Intrinsics.checkNotNullParameter(name, "name");
|
||||
Intrinsics.checkNotNullParameter(variance, "variance");
|
||||
this.container = obj;
|
||||
this.name = name;
|
||||
this.variance = variance;
|
||||
this.isReified = z;
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KTypeParameter
|
||||
public List<KType> getUpperBounds() {
|
||||
List list = this.bounds;
|
||||
if (list != null) {
|
||||
return list;
|
||||
}
|
||||
List<KType> listOf = CollectionsKt.listOf(Reflection.nullableTypeOf(Object.class));
|
||||
this.bounds = listOf;
|
||||
return listOf;
|
||||
}
|
||||
|
||||
public final void setUpperBounds(List<? extends KType> upperBounds) {
|
||||
Intrinsics.checkNotNullParameter(upperBounds, "upperBounds");
|
||||
if (this.bounds == null) {
|
||||
this.bounds = upperBounds;
|
||||
return;
|
||||
}
|
||||
throw new IllegalStateException(("Upper bounds of type parameter '" + this + "' have already been initialized.").toString());
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (other instanceof TypeParameterReference) {
|
||||
TypeParameterReference typeParameterReference = (TypeParameterReference) other;
|
||||
if (Intrinsics.areEqual(this.container, typeParameterReference.container) && Intrinsics.areEqual(getName(), typeParameterReference.getName())) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
Object obj = this.container;
|
||||
return ((obj != null ? obj.hashCode() : 0) * 31) + getName().hashCode();
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return INSTANCE.toString(this);
|
||||
}
|
||||
|
||||
/* compiled from: TypeParameterReference.kt */
|
||||
@Metadata(d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u000e\u0010\u0003\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u0006¨\u0006\u0007"}, d2 = {"Lkotlin/jvm/internal/TypeParameterReference$Companion;", "", "()V", "toString", "", "typeParameter", "Lkotlin/reflect/KTypeParameter;", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
public static final class Companion {
|
||||
|
||||
/* compiled from: TypeParameterReference.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;
|
||||
}
|
||||
}
|
||||
|
||||
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this();
|
||||
}
|
||||
|
||||
private Companion() {
|
||||
}
|
||||
|
||||
public final String toString(KTypeParameter typeParameter) {
|
||||
Intrinsics.checkNotNullParameter(typeParameter, "typeParameter");
|
||||
StringBuilder sb = new StringBuilder();
|
||||
int i = WhenMappings.$EnumSwitchMapping$0[typeParameter.getVariance().ordinal()];
|
||||
if (i == 2) {
|
||||
sb.append("in ");
|
||||
} else if (i == 3) {
|
||||
sb.append("out ");
|
||||
}
|
||||
sb.append(typeParameter.getName());
|
||||
String sb2 = sb.toString();
|
||||
Intrinsics.checkNotNullExpressionValue(sb2, "StringBuilder().apply(builderAction).toString()");
|
||||
return sb2;
|
||||
}
|
||||
}
|
||||
}
|
193
02-Easy5/E5/sources/kotlin/jvm/internal/TypeReference.java
Normal file
193
02-Easy5/E5/sources/kotlin/jvm/internal/TypeReference.java
Normal file
@ -0,0 +1,193 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import java.lang.annotation.Annotation;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.NoWhenBranchMatchedException;
|
||||
import kotlin.collections.CollectionsKt;
|
||||
import kotlin.jvm.JvmClassMappingKt;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
import kotlin.reflect.KClass;
|
||||
import kotlin.reflect.KClassifier;
|
||||
import kotlin.reflect.KType;
|
||||
import kotlin.reflect.KTypeProjection;
|
||||
import kotlin.reflect.KVariance;
|
||||
|
||||
/* compiled from: TypeReference.kt */
|
||||
@Metadata(d1 = {"\u0000F\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0003\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u001b\n\u0002\b\u000e\n\u0002\u0010\u000e\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0010\u0000\n\u0002\b\u0004\b\u0007\u0018\u0000 )2\u00020\u0001:\u0001)B%\b\u0016\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\f\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005\u0012\u0006\u0010\u0007\u001a\u00020\b¢\u0006\u0002\u0010\tB/\b\u0007\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\f\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005\u0012\b\u0010\n\u001a\u0004\u0018\u00010\u0001\u0012\u0006\u0010\u000b\u001a\u00020\f¢\u0006\u0002\u0010\rJ\u0010\u0010\"\u001a\u00020\u001e2\u0006\u0010#\u001a\u00020\bH\u0002J\u0013\u0010$\u001a\u00020\b2\b\u0010%\u001a\u0004\u0018\u00010&H\u0096\u0002J\b\u0010'\u001a\u00020\fH\u0016J\b\u0010(\u001a\u00020\u001eH\u0016J\f\u0010\"\u001a\u00020\u001e*\u00020\u0006H\u0002R\u001a\u0010\u000e\u001a\b\u0012\u0004\u0012\u00020\u000f0\u00058VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\u0010\u0010\u0011R\u001a\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\u0011R\u0014\u0010\u0002\u001a\u00020\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0013\u0010\u0014R\u001c\u0010\u000b\u001a\u00020\f8\u0000X\u0081\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\u0015\u0010\u0016\u001a\u0004\b\u0017\u0010\u0018R\u0014\u0010\u0007\u001a\u00020\b8VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\u0007\u0010\u0019R\u001e\u0010\n\u001a\u0004\u0018\u00010\u00018\u0000X\u0081\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\u001a\u0010\u0016\u001a\u0004\b\u001b\u0010\u001cR\u001c\u0010\u001d\u001a\u00020\u001e*\u0006\u0012\u0002\b\u00030\u001f8BX\u0082\u0004¢\u0006\u0006\u001a\u0004\b \u0010!¨\u0006*"}, d2 = {"Lkotlin/jvm/internal/TypeReference;", "Lkotlin/reflect/KType;", "classifier", "Lkotlin/reflect/KClassifier;", "arguments", "", "Lkotlin/reflect/KTypeProjection;", "isMarkedNullable", "", "(Lkotlin/reflect/KClassifier;Ljava/util/List;Z)V", "platformTypeUpperBound", "flags", "", "(Lkotlin/reflect/KClassifier;Ljava/util/List;Lkotlin/reflect/KType;I)V", "annotations", "", "getAnnotations", "()Ljava/util/List;", "getArguments", "getClassifier", "()Lkotlin/reflect/KClassifier;", "getFlags$kotlin_stdlib$annotations", "()V", "getFlags$kotlin_stdlib", "()I", "()Z", "getPlatformTypeUpperBound$kotlin_stdlib$annotations", "getPlatformTypeUpperBound$kotlin_stdlib", "()Lkotlin/reflect/KType;", "arrayClassName", "", "Ljava/lang/Class;", "getArrayClassName", "(Ljava/lang/Class;)Ljava/lang/String;", "asString", "convertPrimitiveToWrapper", "equals", "other", "", "hashCode", "toString", "Companion", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class TypeReference implements KType {
|
||||
public static final int IS_MARKED_NULLABLE = 1;
|
||||
public static final int IS_MUTABLE_COLLECTION_TYPE = 2;
|
||||
public static final int IS_NOTHING_TYPE = 4;
|
||||
private final List<KTypeProjection> arguments;
|
||||
private final KClassifier classifier;
|
||||
private final int flags;
|
||||
private final KType platformTypeUpperBound;
|
||||
|
||||
/* compiled from: TypeReference.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;
|
||||
}
|
||||
}
|
||||
|
||||
public static /* synthetic */ void getFlags$kotlin_stdlib$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void getPlatformTypeUpperBound$kotlin_stdlib$annotations() {
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KType
|
||||
public List<KTypeProjection> getArguments() {
|
||||
return this.arguments;
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KType
|
||||
public KClassifier getClassifier() {
|
||||
return this.classifier;
|
||||
}
|
||||
|
||||
/* renamed from: getFlags$kotlin_stdlib, reason: from getter */
|
||||
public final int getFlags() {
|
||||
return this.flags;
|
||||
}
|
||||
|
||||
/* renamed from: getPlatformTypeUpperBound$kotlin_stdlib, reason: from getter */
|
||||
public final KType getPlatformTypeUpperBound() {
|
||||
return this.platformTypeUpperBound;
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KType
|
||||
public boolean isMarkedNullable() {
|
||||
return (this.flags & 1) != 0;
|
||||
}
|
||||
|
||||
public TypeReference(KClassifier classifier, List<KTypeProjection> arguments, KType kType, int i) {
|
||||
Intrinsics.checkNotNullParameter(classifier, "classifier");
|
||||
Intrinsics.checkNotNullParameter(arguments, "arguments");
|
||||
this.classifier = classifier;
|
||||
this.arguments = arguments;
|
||||
this.platformTypeUpperBound = kType;
|
||||
this.flags = i;
|
||||
}
|
||||
|
||||
/* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
|
||||
public TypeReference(KClassifier classifier, List<KTypeProjection> arguments, boolean z) {
|
||||
this(classifier, arguments, null, z ? 1 : 0);
|
||||
Intrinsics.checkNotNullParameter(classifier, "classifier");
|
||||
Intrinsics.checkNotNullParameter(arguments, "arguments");
|
||||
}
|
||||
|
||||
@Override // kotlin.reflect.KAnnotatedElement
|
||||
public List<Annotation> getAnnotations() {
|
||||
return CollectionsKt.emptyList();
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (other instanceof TypeReference) {
|
||||
TypeReference typeReference = (TypeReference) other;
|
||||
if (Intrinsics.areEqual(getClassifier(), typeReference.getClassifier()) && Intrinsics.areEqual(getArguments(), typeReference.getArguments()) && Intrinsics.areEqual(this.platformTypeUpperBound, typeReference.platformTypeUpperBound) && this.flags == typeReference.flags) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return (((getClassifier().hashCode() * 31) + getArguments().hashCode()) * 31) + this.flags;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return asString(false) + " (Kotlin reflection is not available)";
|
||||
}
|
||||
|
||||
private final String asString(boolean convertPrimitiveToWrapper) {
|
||||
String name;
|
||||
KClassifier classifier = getClassifier();
|
||||
KClass kClass = classifier instanceof KClass ? (KClass) classifier : null;
|
||||
Class<?> javaClass = kClass != null ? JvmClassMappingKt.getJavaClass(kClass) : null;
|
||||
if (javaClass == null) {
|
||||
name = getClassifier().toString();
|
||||
} else if ((this.flags & 4) != 0) {
|
||||
name = "kotlin.Nothing";
|
||||
} else if (javaClass.isArray()) {
|
||||
name = getArrayClassName(javaClass);
|
||||
} else if (convertPrimitiveToWrapper && javaClass.isPrimitive()) {
|
||||
KClassifier classifier2 = getClassifier();
|
||||
Intrinsics.checkNotNull(classifier2, "null cannot be cast to non-null type kotlin.reflect.KClass<*>");
|
||||
name = JvmClassMappingKt.getJavaObjectType((KClass) classifier2).getName();
|
||||
} else {
|
||||
name = javaClass.getName();
|
||||
}
|
||||
String str = name + (getArguments().isEmpty() ? "" : CollectionsKt.joinToString$default(getArguments(), ", ", "<", ">", 0, null, new Function1<KTypeProjection, CharSequence>() { // from class: kotlin.jvm.internal.TypeReference$asString$args$1
|
||||
{
|
||||
super(1);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function1
|
||||
public final CharSequence invoke(KTypeProjection it) {
|
||||
String asString;
|
||||
Intrinsics.checkNotNullParameter(it, "it");
|
||||
asString = TypeReference.this.asString(it);
|
||||
return asString;
|
||||
}
|
||||
}, 24, null)) + (isMarkedNullable() ? "?" : "");
|
||||
KType kType = this.platformTypeUpperBound;
|
||||
if (!(kType instanceof TypeReference)) {
|
||||
return str;
|
||||
}
|
||||
String asString = ((TypeReference) kType).asString(true);
|
||||
if (Intrinsics.areEqual(asString, str)) {
|
||||
return str;
|
||||
}
|
||||
if (Intrinsics.areEqual(asString, str + '?')) {
|
||||
return str + '!';
|
||||
}
|
||||
return "(" + str + ".." + asString + ')';
|
||||
}
|
||||
|
||||
private final String getArrayClassName(Class<?> cls) {
|
||||
return Intrinsics.areEqual(cls, boolean[].class) ? "kotlin.BooleanArray" : Intrinsics.areEqual(cls, char[].class) ? "kotlin.CharArray" : Intrinsics.areEqual(cls, byte[].class) ? "kotlin.ByteArray" : Intrinsics.areEqual(cls, short[].class) ? "kotlin.ShortArray" : Intrinsics.areEqual(cls, int[].class) ? "kotlin.IntArray" : Intrinsics.areEqual(cls, float[].class) ? "kotlin.FloatArray" : Intrinsics.areEqual(cls, long[].class) ? "kotlin.LongArray" : Intrinsics.areEqual(cls, double[].class) ? "kotlin.DoubleArray" : "kotlin.Array";
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public final String asString(KTypeProjection kTypeProjection) {
|
||||
String valueOf;
|
||||
if (kTypeProjection.getVariance() == null) {
|
||||
return "*";
|
||||
}
|
||||
KType type = kTypeProjection.getType();
|
||||
TypeReference typeReference = type instanceof TypeReference ? (TypeReference) type : null;
|
||||
if (typeReference == null || (valueOf = typeReference.asString(true)) == null) {
|
||||
valueOf = String.valueOf(kTypeProjection.getType());
|
||||
}
|
||||
int i = WhenMappings.$EnumSwitchMapping$0[kTypeProjection.getVariance().ordinal()];
|
||||
if (i == 1) {
|
||||
return valueOf;
|
||||
}
|
||||
if (i == 2) {
|
||||
return "in " + valueOf;
|
||||
}
|
||||
if (i != 3) {
|
||||
throw new NoWhenBranchMatchedException();
|
||||
}
|
||||
return "out " + valueOf;
|
||||
}
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
package kotlin.jvm.internal.markers;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: KMarkers.kt */
|
||||
@Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\bf\u0018\u00002\u00020\u0001¨\u0006\u0002"}, d2 = {"Lkotlin/jvm/internal/markers/KMappedMarker;", "", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface KMappedMarker {
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
package kotlin.jvm.internal.markers;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: KMarkers.kt */
|
||||
@Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\bf\u0018\u00002\u00020\u0001¨\u0006\u0002"}, d2 = {"Lkotlin/jvm/internal/markers/KMutableCollection;", "Lkotlin/jvm/internal/markers/KMutableIterable;", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface KMutableCollection extends KMutableIterable {
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
package kotlin.jvm.internal.markers;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: KMarkers.kt */
|
||||
@Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\bf\u0018\u00002\u00020\u0001¨\u0006\u0002"}, d2 = {"Lkotlin/jvm/internal/markers/KMutableIterable;", "Lkotlin/jvm/internal/markers/KMappedMarker;", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface KMutableIterable extends KMappedMarker {
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
package kotlin.jvm.internal.markers;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: KMarkers.kt */
|
||||
@Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\bf\u0018\u00002\u00020\u0001¨\u0006\u0002"}, d2 = {"Lkotlin/jvm/internal/markers/KMutableIterator;", "Lkotlin/jvm/internal/markers/KMappedMarker;", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface KMutableIterator extends KMappedMarker {
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
package kotlin.jvm.internal.markers;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: KMarkers.kt */
|
||||
@Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\bf\u0018\u00002\u00020\u0001¨\u0006\u0002"}, d2 = {"Lkotlin/jvm/internal/markers/KMutableList;", "Lkotlin/jvm/internal/markers/KMutableCollection;", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface KMutableList extends KMutableCollection {
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
package kotlin.jvm.internal.markers;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: KMarkers.kt */
|
||||
@Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\bf\u0018\u00002\u00020\u0001¨\u0006\u0002"}, d2 = {"Lkotlin/jvm/internal/markers/KMutableListIterator;", "Lkotlin/jvm/internal/markers/KMutableIterator;", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface KMutableListIterator extends KMutableIterator {
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package kotlin.jvm.internal.markers;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: KMarkers.kt */
|
||||
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\bf\u0018\u00002\u00020\u0001:\u0001\u0002¨\u0006\u0003"}, d2 = {"Lkotlin/jvm/internal/markers/KMutableMap;", "Lkotlin/jvm/internal/markers/KMappedMarker;", "Entry", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface KMutableMap extends KMappedMarker {
|
||||
|
||||
/* compiled from: KMarkers.kt */
|
||||
@Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\bf\u0018\u00002\u00020\u0001¨\u0006\u0002"}, d2 = {"Lkotlin/jvm/internal/markers/KMutableMap$Entry;", "Lkotlin/jvm/internal/markers/KMappedMarker;", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
public interface Entry extends KMappedMarker {
|
||||
}
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
package kotlin.jvm.internal.markers;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: KMarkers.kt */
|
||||
@Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\bf\u0018\u00002\u00020\u0001¨\u0006\u0002"}, d2 = {"Lkotlin/jvm/internal/markers/KMutableSet;", "Lkotlin/jvm/internal/markers/KMutableCollection;", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface KMutableSet extends KMutableCollection {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package kotlin.jvm.internal.unsafe;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: monitor.kt */
|
||||
@Metadata(d1 = {"\u0000\u0010\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0002\u001a\u0010\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u0003H\u0002\u001a\u0010\u0010\u0004\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u0003H\u0002¨\u0006\u0005"}, d2 = {"monitorEnter", "", "monitor", "", "monitorExit", "kotlin-stdlib"}, k = 2, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class MonitorKt {
|
||||
private static final void monitorEnter(Object obj) {
|
||||
throw new UnsupportedOperationException("This function can only be used privately");
|
||||
}
|
||||
|
||||
private static final void monitorExit(Object obj) {
|
||||
throw new UnsupportedOperationException("This function can only be used privately");
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user