User Tools

Site Tools


tutorial:mixin_injects

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
tutorial:mixin_injects [2025/11/30 14:20] – Usages segment renamed to Utility gauntreclusetutorial:mixin_injects [2025/12/01 18:49] (current) gauntrecluse
Line 6: Line 6:
 In the context of Mixins, when talking about injects, it is typically in reference to the specific ''@Inject'' injector(i.e. "an inject"). This is not to be confused with injectors as a whole or the general process of injection, which include other injectors such as ''@ModifyArg''. In the context of Mixins, when talking about injects, it is typically in reference to the specific ''@Inject'' injector(i.e. "an inject"). This is not to be confused with injectors as a whole or the general process of injection, which include other injectors such as ''@ModifyArg''.
  
-Inject is included in "stock" or "base" Mixinsmeaning it does not come from an additional library.+''@Inject'' is arguably the most intuitively understandable injectorand a detailed example can be found [[tutorial:mixin_your_first_mixin|here]].
  
-It is arguably the most intuitively understandable injector, and a detailed example can be found [[tutorial:mixin_your_first_mixin|here]]. 
  
- +===== Effects & Use-Cases =====
-===== Utility =====+
 ''@Inject'' primarily injects a call to the annotated method at the specified point in the target method. It is also able to inject early return statements by [[#cancelling|cancelling]] ''@Inject'' primarily injects a call to the annotated method at the specified point in the target method. It is also able to inject early return statements by [[#cancelling|cancelling]]
  
tutorial/mixin_injects.txt · Last modified: 2025/12/01 18:49 by gauntrecluse