- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
36 lines
1.3 KiB
Java
36 lines
1.3 KiB
Java
package kotlinx.coroutines;
|
|
|
|
import kotlin.Result;
|
|
import kotlin.ResultKt;
|
|
import kotlin.coroutines.Continuation;
|
|
import kotlinx.coroutines.internal.DispatchedContinuation;
|
|
|
|
/* loaded from: classes5.dex */
|
|
public abstract class DebugStringsKt {
|
|
public static final String getHexAddress(Object obj) {
|
|
return Integer.toHexString(System.identityHashCode(obj));
|
|
}
|
|
|
|
public static final String toDebugString(Continuation continuation) {
|
|
Object m4060constructorimpl;
|
|
if (continuation instanceof DispatchedContinuation) {
|
|
return continuation.toString();
|
|
}
|
|
try {
|
|
Result.Companion companion = Result.Companion;
|
|
m4060constructorimpl = Result.m4060constructorimpl(continuation + '@' + getHexAddress(continuation));
|
|
} catch (Throwable th) {
|
|
Result.Companion companion2 = Result.Companion;
|
|
m4060constructorimpl = Result.m4060constructorimpl(ResultKt.createFailure(th));
|
|
}
|
|
if (Result.m4062exceptionOrNullimpl(m4060constructorimpl) != null) {
|
|
m4060constructorimpl = continuation.getClass().getName() + '@' + getHexAddress(continuation);
|
|
}
|
|
return (String) m4060constructorimpl;
|
|
}
|
|
|
|
public static final String getClassSimpleName(Object obj) {
|
|
return obj.getClass().getSimpleName();
|
|
}
|
|
}
|