Skip to content

Commit

Permalink
1、修改所有的链接
Browse files Browse the repository at this point in the history
  • Loading branch information
FlyJingFish committed Sep 30, 2024
1 parent dc31365 commit 8458f4c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/AndroidAopReplaceClass.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This aspect is used to replace the method call in the code, and needs to be used
- **_The advantage of this method is that it can "equivalently" monitor the call of certain system methods (code in android.jar), and the first two do not have this feature, so if it is not based on this requirement, it is recommended to use [@AndroidAopMatchClassMethod](https://flyjingfish.github.io/AndroidAOP/AndroidAopMatchClassMethod/)_**

!!! note
<li>To sum up, this function can be said to be a supplement to [@AndroidAopMatchClassMethod](https://flyjingfish.github.io/AndroidAOP/AndroidAopMatchClassMethod/) (the code in android.jar cannot be woven into AOP code). The reason why [ProceedJoinPoint](https://flyjingfish.github.io/AndroidAOP/ProceedJoinPoint/) is not used is that this method may be restricted by different versions of Android. It can neither use reflection to call the original method nor weave in AOP code, so it cannot be encapsulated with [ProceedJoinPoint](https://github.com/FlyJingFish/AndroidAOP/wiki/ProceedJoinPoint). If you really want to use it, it is recommended to use [MatchClassMethodProxy](#4androidaopmatchclassmethod-%E7%9A%84%E4%BB%A3%E7%90%86%E7%94%A8%E6%B3%95) </li><br> <li><strong>After you modify the configuration of this aspect, you should clean the project before continuing development</strong></li>
<li>To sum up, this function can be said to be a supplement to [@AndroidAopMatchClassMethod](https://flyjingfish.github.io/AndroidAOP/AndroidAopMatchClassMethod/) (the code in android.jar cannot be woven into AOP code). The reason why [ProceedJoinPoint](https://flyjingfish.github.io/AndroidAOP/ProceedJoinPoint/) is not used is that this method may be restricted by different versions of Android. It can neither use reflection to call the original method nor weave in AOP code, so it cannot be encapsulated with [ProceedJoinPoint](/AndroidAOP/ProceedJoinPoint/). If you really want to use it, it is recommended to use [MatchClassMethodProxy](#4-proxy-usage-of-androidaopmatchclassmethod) </li><br> <li><strong>After you modify the configuration of this aspect, you should clean the project before continuing development</strong></li>

## 1. Description

Expand Down
8 changes: 4 additions & 4 deletions docs/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class MatchTestMatchMethod : MatchClassMethod {
<details>
<summary><strong>Click here for more details</strong></summary>

- Annotation aspect
<li> Annotation aspect</li>

```kotlin
class CustomInterceptCut : BasePointCut<CustomIntercept> {
Expand All @@ -82,7 +82,7 @@ class CustomInterceptCut : BasePointCut<CustomIntercept> {
}
```

- Replace the aspect
<li> Replace the aspect</li>

```kotlin
@AndroidAopReplaceClass("android.util.Log")
Expand All @@ -98,8 +98,8 @@ object ReplaceLog {
}
```

- `AspectJ`'s `@AfterReturning` and `@AfterThrowing`
**We will match the aspect Let's take an example**
<li> <code>AspectJ</code>'s <code>@AfterReturning</code> and <code>@AfterThrowing</code></li>
<strong>We will match the aspect Let's take an example</strong>

```kotlin
@AndroidAopMatchClassMethod(
Expand Down

0 comments on commit 8458f4c

Please sign in to comment.