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.

CurrentClass - class

class CurrentClass internal constructor(private val classSet: Class<*>, internal val instance: Any)

Change Records

v1.0.70 added

v1.1.0 modified

调整了构造方法的参数名称

Function Illustrate

当前实例的类操作对象。

name - field

val name: String

Change Records

v1.1.0 added

Function Illustrate

获得当前 classSetClass.getName

simpleName - field

val simpleName: String

Change Records

v1.1.0 added

Function Illustrate

获得当前 classSetClass.getSimpleName

generic - method

fun generic(): GenericClass?

Change Records

v1.1.0 added

Function Illustrate

获得当前实例中的泛型父类。

如果当前实例不存在泛型将返回 null

generic - method

inline fun generic(initiate: GenericClass.() -> Unit): GenericClass?

Change Records

v1.1.0 added

Function Illustrate

获得当前实例中的泛型父类。

如果当前实例不存在泛型将返回 null

superClass - method

fun superClass(): SuperClass

Change Records

v1.0.80 added

Function Illustrate

调用父类实例。

field - method

inline fun field(initiate: FieldConditions): FieldFinder.Result.Instance

Change Records

v1.0.70 added

Function Illustrate

调用当前实例中的变量。

method - method

inline fun method(initiate: MethodConditions): MethodFinder.Result.Instance

Change Records

v1.0.70 added

Function Illustrate

调用当前实例中的方法。

SuperClass - class

inner class SuperClass internal constructor(private val superClassSet: Class<*>)

Change Records

v1.0.80 added

v1.1.0 modified

新增 superClassSet 参数

Function Illustrate

当前类的父类实例的类操作对象。

name - field

val name: String

Change Records

v1.1.0 added

Function Illustrate

获得当前 classSet 中父类的 Class.getName

simpleName - field

val simpleName: String

Change Records

v1.1.0 added

Function Illustrate

获得当前 classSet 中父类的 Class.getSimpleName

generic - method

fun generic(): GenericClass?

Change Records

v1.1.0 added

Function Illustrate

获得当前实例父类中的泛型父类。

如果当前实例不存在泛型将返回 null

generic - method

inline fun generic(initiate: GenericClass.() -> Unit): GenericClass?

Change Records

v1.1.0 added

Function Illustrate

获得当前实例父类中的泛型父类。

如果当前实例不存在泛型将返回 null

field - method

inline fun field(initiate: FieldConditions): FieldFinder.Result.Instance

Change Records

v1.0.80 added

Function Illustrate

调用父类实例中的变量。

method - method

inline fun method(initiate: MethodConditions): MethodFinder.Result.Instance

Change Records

v1.0.80 added

Function Illustrate

调用父类实例中的方法。