Notice

The English translation of this page has not been completed, you are welcome to contribute translations to us.

You can use the Chrome Translation Plugin to translate entire pages for reference.

YukiReflection - object

object YukiReflection

Change Records

v1.0.0 first

Function Illustrate

这是 YukiReflection 的装载调用类。

TAG - field

const val TAG: String

Change Records

v1.0.3 added

Function Illustrate

获取当前 YukiReflection 的名称 (标签)。

VERSION - field

const val VERSION: String

Change Records

v1.0.3 added

Function Illustrate

获取当前 YukiReflection 的版本。

API_VERSION_NAME - field

Change Records

v1.0.0 first

v1.0.3 deprecated

不再区分版本名称和版本号,请迁移到 VERSION

API_VERSION_CODE - field

Change Records

v1.0.0 first

v1.0.3 deprecated

不再区分版本名称和版本号,请迁移到 VERSION

Configs - object

object Configs

Change Records

v1.0.0 first

Function Illustrate

对 API 相关功能的配置类。

debugLog - method

inline fun debugLog(initiate: YLog.Configs.() -> Unit)

Change Records

v1.0.3 added

Function Illustrate

配置 YLog.Configs 相关参数。

debugTag - field

Change Records

v1.0.0 first

v1.0.3 deprecated

请迁移到 debugLog

isDebug - field

var isDebug: Boolean

Change Records

v1.0.0 first

Function Illustrate

是否启用 Debug 模式。

默认不启用,启用后将交由日志输出管理器打印详细日志 (例如反射查找功能的耗时) 到控制台。

isAllowPrintingLogs - field

Change Records

v1.0.0 first

v1.0.3 deprecated

请迁移到 debugLog

isEnableMemberCache - field

Change Records

v1.0.0 first

v1.0.2 deprecated

Member 的直接缓存功能已被移除,因为其存在内存溢出 (OOM) 问题

configs - method

inline fun configs(initiate: Configs.() -> Unit)

Change Records

v1.0.0 first

Function Illustrate

Configs 类实现了一个 lambda 方法体。

你可以轻松地调用它进行配置。