Package org.mockito.internal.creation
Class SuspendMethod
- java.lang.Object
-
- org.mockito.internal.creation.SuspendMethod
-
public final class SuspendMethod extends java.lang.Object
Utilities for Kotlin Continuation-Passing-Style suspending function, detecting and trimming last hidden parameter. See Design docs for details.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
KOTLIN_CONTINUATION
private static java.lang.String
KOTLIN_EXPERIMENTAL_CONTINUATION
-
Constructor Summary
Constructors Modifier Constructor Description private
SuspendMethod()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static boolean
isContinuationType(java.lang.Class<?> parameterType)
static java.lang.Class<?>[]
trimSuspendParameterTypes(java.lang.Class<?>[] parameterTypes)
-
-
-
Field Detail
-
KOTLIN_EXPERIMENTAL_CONTINUATION
private static final java.lang.String KOTLIN_EXPERIMENTAL_CONTINUATION
- See Also:
- Constant Field Values
-
KOTLIN_CONTINUATION
private static final java.lang.String KOTLIN_CONTINUATION
- See Also:
- Constant Field Values
-
-