User Tools

Site Tools


tutorial:mixin_redirectors_methods

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
tutorial:mixin_redirectors_methods [2020/08/17 01:08] – case user11681tutorial:mixin_redirectors_methods [2020/08/17 01:09] – case user11681
Line 10: Line 10:
 The ''INVOKE'' injection point reference is used for invocations of ''target'' in ''method'', which means that it can be used in order to redirect a method immediately before it is called. The ''INVOKE'' injection point reference is used for invocations of ''target'' in ''method'', which means that it can be used in order to redirect a method immediately before it is called.
  
-==== redirecting a static method ====+==== Redirecting a static method ====
  
 Static method redirectors should have the same parameters as the ''target''. Static method redirectors should have the same parameters as the ''target''.
Line 27: Line 27:
 </code> </code>
  
-==== redirecting an instance method ====+==== Redirecting an instance method ====
  
 Instance method redirectors are similar to static methood redirectors, but they should have an additional parameter at the start of their parameter lists for the objects on which their ''target''s are invoked. Instance method redirectors are similar to static methood redirectors, but they should have an additional parameter at the start of their parameter lists for the objects on which their ''target''s are invoked.
tutorial/mixin_redirectors_methods.txt · Last modified: 2021/01/15 04:20 by obw