Package io.micronaut.inject.beans
Class KotlinExecutableMethodUtils
java.lang.Object
io.micronaut.inject.beans.KotlinExecutableMethodUtils
Internal Utility methods for working with Kotlin suspend functions
- Since:
- 1.3.0
- Author:
- Konrad KamiĆski
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanKotlinsuspendfunction return type check.
-
Constructor Details
-
KotlinExecutableMethodUtils
public KotlinExecutableMethodUtils()
-
-
Method Details
-
isKotlinFunctionReturnTypeUnit
Kotlinsuspendfunction return type check.- Parameters:
method- method to be checked- Returns:
- True if given
suspendfunction's return type isUnit.
-