getFieldValue

fun <T : Any, V : Any> T.getFieldValue(fieldName: String): V

get private filed in this specific object

Return

field if success, null otherwise.

Parameters

T

the filed owner

fieldName
result type