import{_ as s,o as e,c as a,a as n}from"./app-BpUB8-Q8.js";const o={},l=n(`
Notice
Due to maintenance costs, the YukiHookAPI
will no longer update this document from version 1.3.0
and switch to the API document automatically generated by the Dokka plugin in version 2.0.0
.
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.
class CurrentClass internal constructor(private val classSet: Class<*>, internal val instance: Any)
Change Records
v1.0.70
added
v1.1.0
modified
调整了构造方法的参数名称
Function Illustrate
当前实例的类操作对象。
val name: String
Change Records
v1.1.0
added
Function Illustrate
获得当前
classSet
的Class.getName
。
val simpleName: String
Change Records
v1.1.0
added
Function Illustrate
获得当前
classSet
的Class.getSimpleName
。
fun generic(): GenericClass?
Change Records
v1.1.0
added
Function Illustrate
获得当前实例中的泛型父类。
如果当前实例不存在泛型将返回 null
。
inline fun generic(initiate: GenericClass.() -> Unit): GenericClass?
Change Records
v1.1.0
added
Function Illustrate
获得当前实例中的泛型父类。
如果当前实例不存在泛型将返回 null
。
fun superClass(): SuperClass
Change Records
v1.0.80
added
Function Illustrate
调用父类实例。
inline fun field(initiate: FieldConditions): FieldFinder.Result.Instance
Change Records
v1.0.70
added
Function Illustrate
调用当前实例中的变量。
inline fun method(initiate: MethodConditions): MethodFinder.Result.Instance
Change Records
v1.0.70
added
Function Illustrate
调用当前实例中的方法。
inner class SuperClass internal constructor(private val superClassSet: Class<*>)
Change Records
v1.0.80
added
v1.1.0
modified
新增 superClassSet
参数
Function Illustrate
当前类的父类实例的类操作对象。
val name: String
Change Records
v1.1.0
added
Function Illustrate
获得当前
classSet
中父类的Class.getName
。
val simpleName: String
Change Records
v1.1.0
added
Function Illustrate
获得当前
classSet
中父类的Class.getSimpleName
。
fun generic(): GenericClass?
Change Records
v1.1.0
added
Function Illustrate
获得当前实例父类中的泛型父类。
如果当前实例不存在泛型将返回 null
。
inline fun generic(initiate: GenericClass.() -> Unit): GenericClass?
Change Records
v1.1.0
added
Function Illustrate
获得当前实例父类中的泛型父类。
如果当前实例不存在泛型将返回 null
。
inline fun field(initiate: FieldConditions): FieldFinder.Result.Instance
Change Records
v1.0.80
added
Function Illustrate
调用父类实例中的变量。
inline fun method(initiate: MethodConditions): MethodFinder.Result.Instance
Change Records
v1.0.80
added
Function Illustrate
`,100),t=[l];function p(c,d){return e(),a("div",null,t)}const i=s(o,[["render",p],["__file","CurrentClass.html.vue"]]);export{i as default};调用父类实例中的方法。