-
Notifications
You must be signed in to change notification settings - Fork 1.1k
filtering SCALAC.MIXIN
This page discusses a not yet available feature!
Scala allows so called mixin-class composition. For technical reasons the methods from the mixin-class are copied into the target class.
Methods from mixin-classes are completely removed.
class A extends B with C
The methods of mixin-classes do have the same line number as a constructor.
@dragos: Each mixin forwarder method always forwards to a synthetic static method in a class ending with $class
. See this class in the Scala IDE debugger code for how to classify different Scala synthetic methods. The interesting method is isForwarderBytecode.