Modify change code note in ReflectionFactory

This commit is contained in:
2022-09-06 01:13:16 +08:00
parent c9fa5034c4
commit eace4fed6d
2 changed files with 2 additions and 2 deletions

View File

@@ -198,7 +198,7 @@ fun String.hasClass(loader: ClassLoader?): Boolean
**功能描述**
> 通过字符串使用指定的 `ClassLoader` 查找是否存在。
> 通过字符串类名使用指定的 `ClassLoader` 查找是否存在。
**功能示例**

View File

@@ -105,7 +105,7 @@ fun classOf(name: String, loader: ClassLoader? = null): Class<*> {
inline fun <reified T> classOf(loader: ClassLoader? = null) = loader?.let { classOf(T::class.java.name, loader) } ?: T::class.java
/**
* 通过字符串查找是否存在
* 通过字符串类名使用指定的 [ClassLoader] 查找是否存在
* @param loader [Class] 所在的 [ClassLoader] - 不填使用默认 [ClassLoader]
* @return [Boolean] 是否存在
*/