createVariableFromInstance

fun <T> createVariableFromInstance(configClass: Class<out T?>, obj: T?, config: PersistentConfig): CustomVariable