Added VagueType, VagueClass in DefinedTypeFactory

This commit is contained in:
2022-09-07 00:45:00 +08:00
parent be0c503939
commit 8a58e380a1
3 changed files with 46 additions and 4 deletions

View File

@@ -29,11 +29,28 @@ package com.highcapable.yukihookapi.hook.type.defined
import com.highcapable.yukihookapi.hook.factory.classOf
/** 未定义类型实例 */
/**
* 未定义类型实例
*
* 请使用 [UndefinedType] 来调用它
*/
internal class UndefinedClass
/**
* 未定义类型
* @return [UndefinedClass]
* 模糊类型实例
*
* 请使用 [VagueType] 来调用它
*/
internal val UndefinedType get() = classOf<UndefinedClass>()
internal class VagueClass
/**
* 得到未定义类型
* @return [Class]
*/
internal val UndefinedType get() = classOf<UndefinedClass>()
/**
* 得到模糊类型
* @return [Class]
*/
val VagueType get() = classOf<VagueClass>()