mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-04 09:45:19 +08:00
Modify add cooperations contents in reflection, future documentation
This commit is contained in:
@@ -22,11 +22,17 @@ In the later period, the permissions of the Android system will become more and
|
|||||||
|
|
||||||
### Lite Version Supported for Standalone Use
|
### Lite Version Supported for Standalone Use
|
||||||
|
|
||||||
|
If you like the Reflection API of `YukiHookAPI`, but your project may not need related Hook functions.
|
||||||
|
|
||||||
|
Well here is some good news for you:
|
||||||
|
|
||||||
|
The core Reflection API of `YukiHookAPI` has been decoupled into [YukiReflection](https://github.com/fankes/YukiReflection) project, which can now be used in any Android project.
|
||||||
|
|
||||||
::: tip To be Discussed
|
::: tip To be Discussed
|
||||||
|
|
||||||
At present, the API only supports binding to **xposed_init** through the automatic handler.
|
At present, the API only supports binding to **xposed_init** through the automatic builder.
|
||||||
|
|
||||||
If you don't like the automatic handler, you must implement the module loading entry yourself.
|
If you don't like the automatic builder, you must implement the module loading entry yourself.
|
||||||
|
|
||||||
In the future, the Lite version with only API functions will be launched according to the number of people required.
|
In the future, the Lite version with only API functions will be launched according to the number of people required.
|
||||||
|
|
||||||
|
@@ -2,6 +2,12 @@
|
|||||||
|
|
||||||
> `YukiHookAPI` encapsulates a set of reflection API with near-zero reflection writing for developers, which can almost completely replace the usage of reflection API in Java.
|
> `YukiHookAPI` encapsulates a set of reflection API with near-zero reflection writing for developers, which can almost completely replace the usage of reflection API in Java.
|
||||||
|
|
||||||
|
The core part of this functionality has been decoupled into the [YukiReflection](https://github.com/fankes/YukiReflection) project, which can be used independently in any Android project.
|
||||||
|
|
||||||
|
Now `YukiReflection` is integrated into `YukiHookAPI` as a core dependency.
|
||||||
|
|
||||||
|
`YukiHookAPI` adds related extensions for Hook functions on the basis of `YukiReflection`, and there is no need to introduce this dependency to use `YukiHookAPI`.
|
||||||
|
|
||||||
## Class Extensions
|
## Class Extensions
|
||||||
|
|
||||||
> Here are the extension functions related to the **Class** object itself.
|
> Here are the extension functions related to the **Class** object itself.
|
||||||
|
@@ -22,6 +22,12 @@
|
|||||||
|
|
||||||
### 支持独立使用的 Lite 版本
|
### 支持独立使用的 Lite 版本
|
||||||
|
|
||||||
|
如果你喜欢 `YukiHookAPI` 的反射 API,但你的项目可能并不需要相关 Hook 功能。
|
||||||
|
|
||||||
|
那么这里有一个好消息要告诉你:
|
||||||
|
|
||||||
|
`YukiHookAPI` 的核心反射 API 已被解耦合为 [YukiReflection](https://github.com/fankes/YukiReflection) 项目,它现在能在任何 Android 项目中使用。
|
||||||
|
|
||||||
::: tip 待讨论
|
::: tip 待讨论
|
||||||
|
|
||||||
目前 API 只支持通过自动处理程序绑定到 **xposed_init**,若您不喜欢自动处理程序,一定要自己实现模块装载入口,未来会按照需求人数推出仅有 API 功能的 Lite 版本,你可向我们提出 **issues**。
|
目前 API 只支持通过自动处理程序绑定到 **xposed_init**,若您不喜欢自动处理程序,一定要自己实现模块装载入口,未来会按照需求人数推出仅有 API 功能的 Lite 版本,你可向我们提出 **issues**。
|
||||||
|
@@ -2,6 +2,12 @@
|
|||||||
|
|
||||||
> `YukiHookAPI` 为开发者封装了一套接近零反射写法的反射 API,它几乎可以完全取代原生 Java 的反射 API 相关用法。
|
> `YukiHookAPI` 为开发者封装了一套接近零反射写法的反射 API,它几乎可以完全取代原生 Java 的反射 API 相关用法。
|
||||||
|
|
||||||
|
此功能的核心部分已被解耦合为 [YukiReflection](https://github.com/fankes/YukiReflection) 项目,它可以独立使用于任何 Android 项目中。
|
||||||
|
|
||||||
|
现在 `YukiReflection` 作为核心依赖集成于 `YukiHookAPI`。
|
||||||
|
|
||||||
|
`YukiHookAPI` 在 `YukiReflection` 的基础上加入了针对 Hook 功能的相关扩展,使用 `YukiHookAPI` 无需引入此依赖。
|
||||||
|
|
||||||
## Class 扩展
|
## Class 扩展
|
||||||
|
|
||||||
> 这里是 **Class** 对象自身相关的扩展功能。
|
> 这里是 **Class** 对象自身相关的扩展功能。
|
||||||
|
Reference in New Issue
Block a user