fieldValueByType

fun Any.fieldValueByType(type: Class<*>, isStatic: Boolean = false): Any?

按字段类型读取字段值。

Parameters

type

字段类型

isStatic

是否读取静态字段