RetainingType

dotty.tools.dotc.cc.RetainingType
object RetainingType

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

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(tp: Type, typeElems: Type, byName: Boolean = ...)(using Context): Type
def unapply(tp: AnnotatedType)(using Context): Option[(Type, Type)]