dotty.tools.dotc.core.Types
An extractor for single abstract method types. A type is a SAM type if it is a reference to a class or trait, which
The pattern SAMType(denot) matches a SAM type, where denot is the denotation of the single abstract method as a member of the type.
SAMType(denot)
denot
An extractor for single abstract method types. A type is a SAM type if it is a reference to a class or trait, which
The pattern
SAMType(denot)
matches a SAM type, wheredenot
is the denotation of the single abstract method as a member of the type.