mirror of
https://github.com/mamoe/mirai.git
synced 2026-08-31 03:38:02 +08:00
Migrate references of JAutoSavePluginConfig in docs
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2019-2021 Mamoe Technologies and contributors.
|
* Copyright 2019-2022 Mamoe Technologies and contributors.
|
||||||
*
|
*
|
||||||
* 此源代码的使用受 GNU AFFERO GENERAL PUBLIC LICENSE version 3 许可证的约束, 可以在以下链接找到该许可证.
|
* 此源代码的使用受 GNU AFFERO GENERAL PUBLIC LICENSE version 3 许可证的约束, 可以在以下链接找到该许可证.
|
||||||
* Use of this source code is governed by the GNU AGPLv3 license that can be found through the following link.
|
* Use of this source code is governed by the GNU AGPLv3 license that can be found through the following link.
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
package net.mamoe.mirai.console.data
|
package net.mamoe.mirai.console.data
|
||||||
|
|
||||||
import net.mamoe.mirai.console.data.java.JAutoSavePluginConfig
|
import net.mamoe.mirai.console.data.java.JavaAutoSavePluginConfig
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 一个插件的配置数据, 用于和用户交互.
|
* 一个插件的配置数据, 用于和用户交互.
|
||||||
@@ -33,7 +33,7 @@ import net.mamoe.mirai.console.data.java.JAutoSavePluginConfig
|
|||||||
* 即可将一个 [PluginData] 变更为 [PluginConfig].
|
* 即可将一个 [PluginData] 变更为 [PluginConfig].
|
||||||
*
|
*
|
||||||
* ### Java
|
* ### Java
|
||||||
* 见 [JAutoSavePluginConfig]
|
* 见 [JavaAutoSavePluginConfig]
|
||||||
*
|
*
|
||||||
* @see PluginData
|
* @see PluginData
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -10,8 +10,6 @@
|
|||||||
@file:Suppress(
|
@file:Suppress(
|
||||||
"INVISIBLE_REFERENCE",
|
"INVISIBLE_REFERENCE",
|
||||||
"INVISIBLE_MEMBER",
|
"INVISIBLE_MEMBER",
|
||||||
"EXPOSED_SUPER_CLASS",
|
|
||||||
"NOTHING_TO_INLINE", "unused", "UNCHECKED_CAST"
|
|
||||||
)
|
)
|
||||||
@file:JvmName("PluginDataKt")
|
@file:JvmName("PluginDataKt")
|
||||||
|
|
||||||
@@ -21,7 +19,7 @@ import kotlinx.serialization.KSerializer
|
|||||||
import kotlinx.serialization.modules.SerializersModule
|
import kotlinx.serialization.modules.SerializersModule
|
||||||
import net.mamoe.mirai.console.compiler.common.ResolveContext
|
import net.mamoe.mirai.console.compiler.common.ResolveContext
|
||||||
import net.mamoe.mirai.console.compiler.common.ResolveContext.Kind.RESTRICTED_NO_ARG_CONSTRUCTOR
|
import net.mamoe.mirai.console.compiler.common.ResolveContext.Kind.RESTRICTED_NO_ARG_CONSTRUCTOR
|
||||||
import net.mamoe.mirai.console.data.java.JAutoSavePluginData
|
import net.mamoe.mirai.console.data.java.JavaAutoSavePluginData
|
||||||
import net.mamoe.mirai.console.internal.data.createInstanceSmart
|
import net.mamoe.mirai.console.internal.data.createInstanceSmart
|
||||||
import net.mamoe.mirai.console.internal.data.valueFromKTypeImpl
|
import net.mamoe.mirai.console.internal.data.valueFromKTypeImpl
|
||||||
import net.mamoe.mirai.console.internal.data.valueImpl
|
import net.mamoe.mirai.console.internal.data.valueImpl
|
||||||
@@ -81,7 +79,7 @@ import kotlin.reflect.typeOf
|
|||||||
*
|
*
|
||||||
* ### 使用 Java
|
* ### 使用 Java
|
||||||
*
|
*
|
||||||
* 参考 [JAutoSavePluginData]
|
* 参考 [JavaAutoSavePluginData]
|
||||||
*
|
*
|
||||||
* ## 非引用赋值
|
* ## 非引用赋值
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user