miniboxing.plugin.metadata.MiniboxMethodInfo
For the following example:
class IntFun extends Function1[Int, Int] { def apply(x: Int): Int = .. }
method apply will have type (Any)Any and we want in fact to override apply$mcII$sp of type (Int)Int, and apply will forward to it.
apply
(Any)Any
apply$mcII$sp
(Int)Int
So, if the symbol is apply, the method will be apply$mcII$sp.
method
For the following example:
class IntFun extends Function1[Int, Int] { def apply(x: Int): Int = .. }
method
apply
will have type(Any)Any
and we want in fact to overrideapply$mcII$sp
of type(Int)Int
, andapply
will forward to it.So, if the symbol is
apply
, themethod
will beapply$mcII$sp
.