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

Implement annotations that modify the existing code of source methods. #8

Open
Lanchon opened this issue Sep 8, 2015 · 2 comments
Open

Comments

@Lanchon
Copy link
Member

Lanchon commented Sep 8, 2015

These annotations would enable replacement of instructions within specific source methods and support stuff like:

  • altering the targets of method calls
  • altering the targets of field accesses
  • replacing field accesses with method calls
  • replacing field reads with constant values
  • etc
@cosmicdan
Copy link

This would be VERY powerful and awesome! How far back on your priorities is this? I can't imagine it'd be easy.

@clienthax
Copy link

This could be a good base to work off of.
Doesn't require the mixins to have matching class inheritance either.

https://github.com/SpongePowered/Mixin
https://github.com/SpongePowered/Mixin/wiki

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

No branches or pull requests

3 participants