RetainingType

dotty.tools.dotc.cc.RetainingType
object RetainingType

A builder and extractor for annotated types with @retains or @retainsByName annotations.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(tp: Type, refs: List[Tree], byName: Boolean)(using Context): Type
def unapply(tp: AnnotatedType)(using Context): Option[(Type, List[Tree])]