Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用@ClassOf 时报错:@ClassOf 's origin type should be parent in value #72

Open
whxpro opened this issue Jul 26, 2023 · 1 comment

Comments

@whxpro
Copy link

whxpro commented Jul 26, 2023

场景:hook 三方SDK 中的方法。
示例:

    @Insert("a")
    @TargetClass("a.b.c")
    public static Object hook(long var0, @NonNull @ClassOf("a.b.d") Object var2) {
        return Origin.call();
    }
@McraeleeLee
Copy link

我也遇到了 这个问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants