ValueDescription
序列化之后的注释.
例:
object AccountPluginData : PluginData by ... {
@ValueDescription("""
一个 map
""")
val map: Map<String, String> by value("a" to "b")
}
Content copied to clipboard
将被保存为配置 (YAML 作为示例):
AccountPluginData:
# 一个 map
map:
a: b
Content copied to clipboard
See also
Comment
Properties
Link copied to clipboard
将会被 String.trimIndent 处理