Dotty Documentation

0.2.0-bin-SNAPSHOT

class MixinOps

[-] Constructors

MixinOps ( cls: ClassSymbol , thisTransform: DenotTransformer )
MixinOps ( implicit ctx: Context )

[-] Members

[+] lazy val JUnit4Annotations : List [ Symbol ]
[+] final val PrivateOrAccessor : FlagSet
[+] final val PrivateOrAccessorOrDeferred : FlagSet
[+] private val cls : ClassSymbol
[+] private implicit val ctx : Context
[+] val mixins : List [ ClassSymbol ]
[+] val superCls : Symbol
[+] private val thisTransform : DenotTransformer
[+] private def competingMethodsIterator ( meth: Symbol ) : Iterator [ Symbol ]
[+] def forwarder ( target: Symbol ) : List [ Type ] => List [ List [ Tree ] ] => Tree
[+] def implementation ( member: TermSymbol ) : TermSymbol
[+] def isCurrent ( sym: Symbol ) : Boolean

Is sym a member of implementing class cls? The test is performed at phase thisTransform.

[+] def needsForwarder ( meth: Symbol ) : Boolean

Does method need a forwarder to in class cls Method needs a forwarder in those cases: - there's a class defining a method with same signature - there are multiple traits defining method with same signature

[+] private def needsJUnit4Fix ( meth: Symbol ) : Boolean
[+] def needsPrimitiveForwarderTo ( meth: Symbol ) : Option [ Symbol ]

Get sym of the method that needs a forwarder Method needs a forwarder in those cases: - there is a trait that defines a primitive version of implemented polymorphic method. - there is a trait that defines a polymorphic version of implemented primitive method.

[+] def superRef ( target: Symbol , pos: Position ) : Tree