Class KotlinUtils


  • @Internal
    public class KotlinUtils
    extends java.lang.Object

    Internal Utility methods for working with Kotlin suspend functions

    .
    Since:
    1.3.0
    • Constructor Summary

      Constructors 
      Constructor Description
      KotlinUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isKotlinCoroutineSuspended​(java.lang.Object obj)
      Kotlin suspend function result check.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • KOTLIN_COROUTINES_SUPPORTED

        public static final boolean KOTLIN_COROUTINES_SUPPORTED
        Constant indicating whether coroutines are supported.
      • COROUTINE_SUSPENDED

        public static final java.lang.Object COROUTINE_SUSPENDED
    • Constructor Detail

      • KotlinUtils

        public KotlinUtils()
    • Method Detail

      • isKotlinCoroutineSuspended

        public static boolean isKotlinCoroutineSuspended​(@Nullable
                                                         java.lang.Object obj)
        Kotlin suspend function result check.
        Parameters:
        obj - object to be checked
        Returns:
        True if given object is an indicating that a suspend function suspended.