Skip to content

Commit

Permalink
feat: 增加 aspectof
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangpengyong committed Feb 6, 2022
1 parent 9efca38 commit 62eff76
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
public class JPermissionAspect {
private static final String TAG = JPermissionAspect.class.getSimpleName();

public static JPermissionAspect aspectOf() {
return new JPermissionAspect();
}

/**
* 它在选择Jpoint的时候,把 @Permission 使用上了,并且携带有这个注解的API都是目标 JPoint
* 接着,由于我们希望在函数中获取注解的信息,所有这里的 poincut 函数有一个参数,
Expand Down

0 comments on commit 62eff76

Please sign in to comment.