ADD week 5
This commit is contained in:
20
02-Easy5/E5/sources/_COROUTINE/ArtificialStackFrames.java
Normal file
20
02-Easy5/E5/sources/_COROUTINE/ArtificialStackFrames.java
Normal file
@ -0,0 +1,20 @@
|
||||
package _COROUTINE;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: CoroutineDebugging.kt */
|
||||
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0000\u0018\u00002\u00020\u0001B\u0005¢\u0006\u0002\u0010\u0002J\u0006\u0010\u0003\u001a\u00020\u0004J\u0006\u0010\u0005\u001a\u00020\u0004¨\u0006\u0006"}, d2 = {"L_COROUTINE/ArtificialStackFrames;", "", "()V", "coroutineBoundary", "Ljava/lang/StackTraceElement;", "coroutineCreation", "kotlinx-coroutines-core"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class ArtificialStackFrames {
|
||||
public final StackTraceElement coroutineCreation() {
|
||||
StackTraceElement artificialFrame;
|
||||
artificialFrame = CoroutineDebuggingKt.artificialFrame(new Exception(), "_CREATION");
|
||||
return artificialFrame;
|
||||
}
|
||||
|
||||
public final StackTraceElement coroutineBoundary() {
|
||||
StackTraceElement artificialFrame;
|
||||
artificialFrame = CoroutineDebuggingKt.artificialFrame(new Exception(), "_BOUNDARY");
|
||||
return artificialFrame;
|
||||
}
|
||||
}
|
20
02-Easy5/E5/sources/_COROUTINE/CoroutineDebuggingKt.java
Normal file
20
02-Easy5/E5/sources/_COROUTINE/CoroutineDebuggingKt.java
Normal file
@ -0,0 +1,20 @@
|
||||
package _COROUTINE;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: CoroutineDebugging.kt */
|
||||
@Metadata(d1 = {"\u0000\u0016\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\u0010\u0003\n\u0002\b\u0002\u001a\u0014\u0010\u0004\u001a\u00020\u0005*\u00020\u00062\u0006\u0010\u0007\u001a\u00020\u0001H\u0002\"\u0014\u0010\u0000\u001a\u00020\u0001X\u0080D¢\u0006\b\n\u0000\u001a\u0004\b\u0002\u0010\u0003¨\u0006\b"}, d2 = {"ARTIFICIAL_FRAME_PACKAGE_NAME", "", "getARTIFICIAL_FRAME_PACKAGE_NAME", "()Ljava/lang/String;", "artificialFrame", "Ljava/lang/StackTraceElement;", "", "name", "kotlinx-coroutines-core"}, k = 2, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class CoroutineDebuggingKt {
|
||||
private static final String ARTIFICIAL_FRAME_PACKAGE_NAME = "_COROUTINE";
|
||||
|
||||
public static final String getARTIFICIAL_FRAME_PACKAGE_NAME() {
|
||||
return ARTIFICIAL_FRAME_PACKAGE_NAME;
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final StackTraceElement artificialFrame(Throwable th, String str) {
|
||||
StackTraceElement stackTraceElement = th.getStackTrace()[0];
|
||||
return new StackTraceElement(ARTIFICIAL_FRAME_PACKAGE_NAME + '.' + str, "_", stackTraceElement.getFileName(), stackTraceElement.getLineNumber());
|
||||
}
|
||||
}
|
9
02-Easy5/E5/sources/_COROUTINE/_BOUNDARY.java
Normal file
9
02-Easy5/E5/sources/_COROUTINE/_BOUNDARY.java
Normal file
@ -0,0 +1,9 @@
|
||||
package _COROUTINE;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: CoroutineDebugging.kt */
|
||||
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\b\u0002\u0018\u00002\u00020\u0001B\u0005¢\u0006\u0002\u0010\u0002¨\u0006\u0003"}, d2 = {"L_COROUTINE/_BOUNDARY;", "", "()V", "kotlinx-coroutines-core"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
final class _BOUNDARY {
|
||||
}
|
9
02-Easy5/E5/sources/_COROUTINE/_CREATION.java
Normal file
9
02-Easy5/E5/sources/_COROUTINE/_CREATION.java
Normal file
@ -0,0 +1,9 @@
|
||||
package _COROUTINE;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: CoroutineDebugging.kt */
|
||||
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\b\u0002\u0018\u00002\u00020\u0001B\u0005¢\u0006\u0002\u0010\u0002¨\u0006\u0003"}, d2 = {"L_COROUTINE/_CREATION;", "", "()V", "kotlinx-coroutines-core"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
final class _CREATION {
|
||||
}
|
Reference in New Issue
Block a user