Creates a method definition def f[..](...) with the signature defined in the symbol.
Creates a method definition def f[..](...) with the signature defined in the symbol.
The rhsFn is a function that receives references to its parameters, and should return Some containing the implementation of the method, or None if the method has no implementation. Any definition directly inside the implementation should have symbol as owner.
Use Symbol.asQuotes to create the rhs using quoted code.
See also: Tree.changeOwner
Value parameters
rhsFn
a function that takes references to the method parameters and returns the method body, or None for abstract methods
symbol
the method symbol (created using Symbol.newMethod)