Package 

Class KotlinReflectUtilsKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit assertMavericksDataClassImmutabilityWithKotlinReflect(KClass<?> kClass) Ensures that the given class is:
      • A kotlin data class

      • Contains no mutable properties

      • Contains no primary constructor params with a Mutable collection type.

      For further validations restricting usages of Java collections such as ArrayList, this can be combined with com.airbnb.mvrx.
      • Methods inherited from class java.lang.Object

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

      • assertMavericksDataClassImmutabilityWithKotlinReflect

         final static Unit assertMavericksDataClassImmutabilityWithKotlinReflect(KClass<?> kClass)

        Ensures that the given class is:

        • A kotlin data class

        • Contains no mutable properties

        • Contains no primary constructor params with a Mutable collection type.

        For further validations restricting usages of Java collections such as ArrayList, this can be combined with com.airbnb.mvrx.assertMavericksDataClassImmutability