jvm getReflection¶ @JvmName (name = "getReflectionExtension")inline fun <T, R> T.getReflection(field: String): R Extension form of getReflection; reads field (searching up the class hierarchy) from this instance. inline fun <T, R> getReflection(instance: T, field: String): R Reads a private/inaccessible declared field named field off instance via reflection, searching T and its superclasses. Throws¶ NoSuchFieldException if no field named field is found anywhere in the hierarchy.