User Tools

Site Tools


tutorial:mixin_examples

Differences

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

Link to this comparison view

Next revisionBoth sides next revision
tutorial:mixin_examples [2020/09/14 05:06] – created siglongtutorial:mixin_examples [2020/09/14 05:07] – minor improvement siglong
Line 2: Line 2:
 This is a collection of frequently used mixins. This is a collection of frequently used mixins.
  
-===== injecting into the head of a method =====+===== Injecting into the head of a method =====
 Mixin: Mixin:
 <code java> <code java>
Line 21: Line 21:
 </code> </code>
  
-===== injecting into the tail of a method =====+===== Injecting into the tail of a method =====
 Mixin: Mixin:
 <code java> <code java>
Line 42: Line 42:
 </code> </code>
  
-===== injecting into the returns of a method =====+===== Injecting into the returns of a method =====
 Mixin: Mixin:
 <code java> <code java>
Line 64: Line 64:
 </code> </code>
  
-===== injecting into before method call =====+===== Injecting into before method call =====
 Mixin: Mixin:
 <code java> <code java>
Line 84: Line 84:
 </code> </code>
  
-===== injecting into after method call =====+===== Injecting into after method call =====
 Mixin: Mixin:
 <code java> <code java>
tutorial/mixin_examples.txt · Last modified: 2024/01/13 15:02 by arkosammy12