Modify add cooperations contents in reflection, future documentation

This commit is contained in:
2023-01-26 02:31:19 +08:00
parent 0b1e078829
commit 72ba52ad22
4 changed files with 26 additions and 2 deletions

View File

@@ -22,11 +22,17 @@ In the later period, the permissions of the Android system will become more and
### 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
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.

View File

@@ -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.
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
> Here are the extension functions related to the **Class** object itself.

View File

@@ -22,6 +22,12 @@
### 支持独立使用的 Lite 版本
如果你喜欢 `YukiHookAPI` 的反射 API但你的项目可能并不需要相关 Hook 功能。
那么这里有一个好消息要告诉你:
`YukiHookAPI` 的核心反射 API 已被解耦合为 [YukiReflection](https://github.com/fankes/YukiReflection) 项目,它现在能在任何 Android 项目中使用。
::: tip 待讨论
目前 API 只支持通过自动处理程序绑定到 **xposed_init**,若您不喜欢自动处理程序,一定要自己实现模块装载入口,未来会按照需求人数推出仅有 API 功能的 Lite 版本,你可向我们提出 **issues**

View File

@@ -2,6 +2,12 @@
> `YukiHookAPI` 为开发者封装了一套接近零反射写法的反射 API它几乎可以完全取代原生 Java 的反射 API 相关用法。
此功能的核心部分已被解耦合为 [YukiReflection](https://github.com/fankes/YukiReflection) 项目,它可以独立使用于任何 Android 项目中。
现在 `YukiReflection` 作为核心依赖集成于 `YukiHookAPI`
`YukiHookAPI``YukiReflection` 的基础上加入了针对 Hook 功能的相关扩展,使用 `YukiHookAPI` 无需引入此依赖。
## Class 扩展
> 这里是 **Class** 对象自身相关的扩展功能。