Bridges

dotty.tools.dotc.transform.Bridges
class Bridges(root: ClassSymbol, thisPhase: DenotTransformer)(using x$3: Context)

A helper class for generating bridge methods in class root.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def add(stats: List[Tree]): List[Tree]

Add all necessary bridges to template statements stats, and remove at the same time deferred methods in stats that are replaced by a bridge with the same signature.

Add all necessary bridges to template statements stats, and remove at the same time deferred methods in stats that are replaced by a bridge with the same signature.

Attributes

def bridgePosFor(member: Symbol): SrcPos

Concrete fields

val site: Type