i have this class : and the path interface: where T , P and N are generic types. i want to define a variable FindPath in another class , and call it’s constructor , basically i want something like this : ( WNode,WNodePath are another classes i use in the generic types ) what am i doing wrong ? how
Tag: extension-methods
How to add a KDoc comment for the receiver of a Kotlin extension function (first parameter in Java, `this` in Kotlin)
Consider this non-extension function: When I use this function in kotlin and java, I can see its parameter name: expression. I could also write this same functionality as an extension function: When I write it as an extension function in this manner, the parameter name of the Boolean that it is called on (the this variable within the function, AKA