Class KotlinExecutableMethodUtils

java.lang.Object
io.micronaut.inject.beans.KotlinExecutableMethodUtils

@Internal public final class KotlinExecutableMethodUtils extends Object

Internal Utility methods for working with Kotlin suspend functions

.
Since:
1.3.0
Author:
Konrad KamiƄski
  • Constructor Details

    • KotlinExecutableMethodUtils

      public KotlinExecutableMethodUtils()
  • Method Details

    • isKotlinFunctionReturnTypeUnit

      public static boolean isKotlinFunctionReturnTypeUnit(@NonNull @NonNull ExecutableMethod method)
      Kotlin suspend function return type check.
      Parameters:
      method - method to be checked
      Returns:
      True if given suspend function's return type is Unit.