findBackingFieldValueNode
fun <T> AbstractPluginData.findBackingFieldValueNode(property: KProperty<T>): AbstractPluginData.ValueNode<out T>?
示例:
object MyData : AutoSavePluginData(PluginMain) {
val list: List<String> by value()
}
val value: PluginData.ValueNode<List<String>> = MyData.findBackingFieldValueNode(MyData::list)
Content copied to clipboard