Package org.mockito.internal.creation
Class SuspendMethod
java.lang.Object
org.mockito.internal.creation.SuspendMethod
Utilities for Kotlin Continuation-Passing-Style suspending function, detecting and trimming last hidden parameter.
See Design docs for details.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
isContinuationType
(Class<?> parameterType) static Class<?>[]
trimSuspendParameterTypes
(Class<?>[] parameterTypes)
-
Field Details
-
KOTLIN_EXPERIMENTAL_CONTINUATION
- See Also:
-
KOTLIN_CONTINUATION
- See Also:
-
-
Constructor Details
-
SuspendMethod
private SuspendMethod()
-
-
Method Details
-
trimSuspendParameterTypes
-
isContinuationType
-