param Count
Deprecated
YukiHookAPI will completely remove the API of its own reflection part in version 2.0.0. We recommend that you use KavaRef to implement reflection for better performance and maintainability. See: https://github.com/HighCapable/KavaRef
Sets the Constructor parameter count.
You can use this method to specify only the parameter count without using param to specify parameter types.
A negative parameter count is ignored and param is used instead.
When multiple BaseFinder.IndexTypeCondition instances are present, only the last one takes effect except for order.
Return
Parameters
the count.
Deprecated
YukiHookAPI will completely remove the API of its own reflection part in version 2.0.0. We recommend that you use KavaRef to implement reflection for better performance and maintainability. See: https://github.com/HighCapable/KavaRef
Sets the Constructor parameter-count range.
You can use this method to specify only the parameter-count range without using param to specify parameter types.
Example:
paramCount(1..5)When multiple BaseFinder.IndexTypeCondition instances are present, only the last one takes effect except for order.
Return
Parameters
the count range.
Deprecated
YukiHookAPI will completely remove the API of its own reflection part in version 2.0.0. We recommend that you use KavaRef to implement reflection for better performance and maintainability. See: https://github.com/HighCapable/KavaRef
Sets the Constructor parameter-count condition.
You can use this method to specify only a parameter-count condition without using param to specify parameter types.
Example:
paramCount { it >= 5 || it.isZero() }When multiple BaseFinder.IndexTypeCondition instances are present, only the last one takes effect except for order.
Return
Parameters
the condition block.
Deprecated
YukiHookAPI will completely remove the API of its own reflection part in version 2.0.0. We recommend that you use KavaRef to implement reflection for better performance and maintainability. See: https://github.com/HighCapable/KavaRef
Sets the Constructor parameter count.
You can use this property to specify only the parameter count without using param to specify parameter types.
A negative parameter count is ignored and param is used instead.