tutorial:mixin_injects
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tutorial:mixin_injects [2025/12/08 17:43] – Edit example where WrapOp is preferrable to have it capture an expression rather than just a local, suggested by EarthComputer gauntrecluse | tutorial:mixin_injects [2025/12/15 16:52] (current) – Added an extra bracket to show that it has to be inside @At more clearly mcgambingpro | ||
|---|---|---|---|
| Line 39: | Line 39: | ||
| } | } | ||
| </ | </ | ||
| - | if we wished to inject right after the '' | + | if we wished to inject right after the '' |
| For the sake of showing how to appropriately add our new operations after the original method call outside of void returns, we'll say '' | For the sake of showing how to appropriately add our new operations after the original method call outside of void returns, we'll say '' | ||
| <code java> | <code java> | ||
| Line 134: | Line 134: | ||
| The only common form of shifting comes in the form of using '' | The only common form of shifting comes in the form of using '' | ||
| <code java> | <code java> | ||
| - | @Inject(method = " | + | @Inject(method = " |
| </ | </ | ||
tutorial/mixin_injects.1765215823.txt.gz · Last modified: 2025/12/08 17:43 by gauntrecluse