org.scalajs.core.tools.linker.analyzer.Analysis
Bridge to a default method.
Bridge to a default method.
After the linker, default methods are not inherited anymore. Bridges are generated where appropriate to statically call the corresponding default method in the target interface.
The shape of default bridges is
def method__xyz(p1: T1, ..., pn: TN): R = { this.TargetInterface::method__xyz(p1, ..., pn) }
A reflective proxy bridge to the appropriate target method.
A reflective proxy bridge to the appropriate target method.
A reflective proxy methodxyz
dynamically calls some target
method methodxyzR
on this
. R
is boxed according to JVM boxing
semantics, i.e.,
Char
is boxed in java.lang.Character
void
is followed by a reified ()
, i.e., undefined
The basic shape is:
def method__xyz__(p1: T1, ..., pn: TN): any = { this.method__xyz__R(p1, ..., pn) }
An explicit call-super constructor.
An explicit call-super constructor.
In a class Foo
with parent class Bar
, an inherited
constructor init_xyz
looks like
def init___xyz(p1: T1, ..., pn: TN) { this.Bar::init___xyz(p1, ..., pn) }
Not a synthetic method.