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
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Kotlinsuspend
function return type check.
-
Constructor Details
-
KotlinExecutableMethodUtils
public KotlinExecutableMethodUtils()
-
-
Method Details
-
isKotlinFunctionReturnTypeUnit
Kotlinsuspend
function return type check.- Parameters:
method
- method to be checked- Returns:
- True if given
suspend
function's return type isUnit
.
-