tutorial:mixin_glossary
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tutorial:mixin_glossary [2025/11/02 12:24] – gauntrecluse | tutorial:mixin_glossary [2025/11/29 03:49] (current) – gauntrecluse | ||
|---|---|---|---|
| Line 29: | Line 29: | ||
| - Second def | - Second def | ||
| * Note on Second def | * Note on Second def | ||
| + | |||
| + | === Referencing other definitions === | ||
| + | |||
| + | You can reference another definition on the page by referencing the definition' | ||
| + | [[# | ||
| + | [[#asm|The ASM definition]] - '' | ||
| + | |||
| ---- | ---- | ||
| - | :!: //This is under heavy construction and probably contains inaccuracies, | + | :!: //This is under heavy construction and probably contains inaccuracies, |
| ===== Definitions ===== | ===== Definitions ===== | ||
| - | ==== General/Misc. Terms ==== | + | ==== General |
| - | FIXME //The defs for lambda funs and anon classes are really barebone so far and should be improved.// | + | == Lambda |
| - | == Lambda | + | - Unnamed |
| - | - (Java) | + | * For a more thorough technical definition, see [[https:// |
| - | == Anonymous | + | == Anonymous |
| - | - A nameless inner class declared and instantiated a single time. As with any inner class, anonymous classes must be mixed into specifically rather than outer classes. | + | - A nameless inner class declared and instantiated a single time. Anonymous classes may be declared within a method' |
| == Enclosing Method == | == Enclosing Method == | ||
| - | - The method containing the relevant subject. For instance, an anonymous class or lambda's enclosing | + | - The method containing the relevant subject, |
| + | == Encapsulating Class, Outer Class == | ||
| + | - The class containing the relevant subject, often an inner class such as an [[# | ||
| == Mixin, Mixin Class == | == Mixin, Mixin Class == | ||
| Line 61: | Line 69: | ||
| == Target Method == | == Target Method == | ||
| - | - A method within a target class being targeted by transformations from a Mixin class. | + | - A method within a [[# |
| == Merging, to merge == | == Merging, to merge == | ||
| - In the context of Mixin, merging most of members and new interface implementations from the Mixin class into the target class' | - In the context of Mixin, merging most of members and new interface implementations from the Mixin class into the target class' | ||
| + | |||
| + | |||
| + | == Shadowing == | ||
| + | - Reference to usages of '' | ||
| + | |||
| + | == Double-Casting == | ||
| + | - For Mixins, references the practice of casting a '' | ||
| + | |||
| + | |||
| + | == Accessor == | ||
| + | - Reference to an [[tutorial: | ||
| + | - Reference to the '' | ||
| + | |||
| + | == Invoker == | ||
| + | - Reference to the '' | ||
| + | |||
| Line 141: | Line 165: | ||
| == CallbackInfo == | == CallbackInfo == | ||
| - | - An argument passed to an injector allowing to interact with the callback instructions. Notably, it may be " | + | - An argument passed to an injector allowing to interact with the callback instructions. Notably, it may be " |
| - | * If the target method returns a value, the injector will instead be passed a '' | + | * If the target method returns a value, the injector will instead be passed a '' |
| + | * See the JavaDocs for the [[https:// | ||
| Line 164: | Line 189: | ||
| - Injector from Mixinextras, | - Injector from Mixinextras, | ||
| * See [[https:// | * See [[https:// | ||
| + | |||
| == Inject == | == Inject == | ||
| Line 175: | Line 201: | ||
| - Reference to the '' | - Reference to the '' | ||
| * See the [[https:// | * See the [[https:// | ||
| + | |||
| + | == Capturing Locals == | ||
| + | - The process of using [[# | ||
| Line 191: | Line 220: | ||
| ==== Targeting Tools ==== | ==== Targeting Tools ==== | ||
| + | Outside of [[# | ||
| + | |||
| + | |||
| + | == Brittle == | ||
| + | - A " | ||
| + | |||
| == Slice, Slicing == | == Slice, Slicing == | ||
| Line 197: | Line 232: | ||
| == Expressions == | == Expressions == | ||
| - | - Added in MixinExtras 0.5.0; a tool consisting of injection point ''" | + | - Added in MixinExtras |
| - | - To "use an expression" | + | - To "use an expression" |
| - | * See the [[https:// | + | * See [[https:// |
| + | |||
| + | == MixinExtras Flowchart == | ||
| + | - An IDE feature added by the [# | ||
| + | |||
| + | == @Definition == | ||
| + | - In the context of [[# | ||
| + | |||
| + | == Wildcard == | ||
| + | - In the context of Expressions, | ||
| == Ordinal == | == Ordinal == | ||
| - | - Zero-indexed | + | - A discriminator which, between all valid targets once other filters and discriminators are applied, uses a zero-indexed value to select |
| - | * Ordinals are generally a more brittle and less recommended discriminator for targeting using injectors. | + | * Ordinals are generally a more [[#brittle|brittle]] |
tutorial/mixin_glossary.1762086266.txt.gz · Last modified: 2025/11/02 12:24 by gauntrecluse