service / com.scurab.android.uitor.extract2 / kotlin.Any

Extensions for kotlin.Any

allFields

Get All fields defined on the class including parent classes

fun Any.allFields(): Collection<Field>

allMethods

Get all defined methods on the class including parent classes

fun Any.allMethods(): Collection<Method>

inheritance

Take list of classes representing inheritance of the object

fun Any.inheritance(): String

isArray

Check if the reference is an Array

fun Any.isArray(): Boolean

reflection

Get a value using reflection

fun Any.reflection(name: String): Any?

reflectionInt

Get an Int value using reflection

fun Any.reflectionInt(name: String): Int

toArrayString

fun Any.toArrayString(): String?