MethodTypeCompanion
dotty.tools.dotc.core.Types.MethodTypeCompanion
abstract class MethodTypeCompanion(val prefixString: String) extends TermLambdaCompanion[MethodType]
Attributes
- Graph
-
- Supertypes
- Known subtypes
- Self type
Members list
Value members
Concrete methods
Adapt info of parameter symbol to be integrated into corresponding MethodType using the scheme described in fromSymbols.
Adapt info of parameter symbol to be integrated into corresponding MethodType using the scheme described in fromSymbols.
Attributes
def apply(paramNames: List[TermName])(paramInfosExp: MethodType => List[Type], resultTypeExp: MethodType => Type)(using Context): MethodType
Not safe to use in general: Check that all references to an enclosing TermParamRef name point to that TermParamRef
Not safe to use in general: Check that all references to an enclosing TermParamRef name point to that TermParamRef
Attributes
Produce method type from parameter symbols, with special mappings for repeated and inline parameters:
Produce method type from parameter symbols, with special mappings for repeated and inline parameters:
- replace
@repeatedannotations on Seq or Array types bytypes - map into annotations to $into annotations
- add
@inlineParamto inline parameters - add
@erasedParamto erased parameters - map
T @$intotypes tointo[T]
Attributes
Inherited methods
Attributes
- Inherited from:
- LambdaTypeCompanion
Attributes
- Inherited from:
- LambdaTypeCompanion
Attributes
- Inherited from:
- LambdaTypeCompanion
Attributes
- Inherited from:
- LambdaTypeCompanion
Attributes
- Inherited from:
- TermLambdaCompanion
Attributes
- Inherited from:
- LambdaTypeCompanion
Attributes
- Inherited from:
- TermLambdaCompanion
Concrete fields
In this article