Changes between Version 163 and Version 164 of j2p
- Timestamp:
- 11/14/24 09:54:58 (3 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
j2p
v163 v164 128 128 * For the non-static inner class: pass the enclosing class as argument to the child class constructor. You may have to use more tricks to get around cyclic dependencies. 129 129 130 ==== Example workaround130 ===== Example workaround 131 131 Java has the arrow notation (x,y) -> methodcall(x,y) to write lambda expressions. 132 132 This notation can also be translated. This feature is especially useful when pulling inner classes out of a parent class, to pass parent class functions over to the pulled-out class.