Interface TypeSubstitutions.TypeParamMapper
- All Superinterfaces:
TypeSubstitutions.TypeMapper
- All Known Implementing Classes:
InferenceSolution,ParameterizedClass
- Enclosing class:
TypeSubstitutions
-
Method Summary
Modifier and TypeMethodDescriptionmapParam(TypeParameter param) Map the givenTypeParameterto aReferenceType.default ReferenceTypemapType(ReferenceType type) Optionally substitute every type.Methods inherited from interface net.covers1624.coffeegrinder.type.TypeSubstitutions.TypeMapper
substFunc
-
Method Details
-
mapType
Description copied from interface:TypeSubstitutions.TypeMapperOptionally substitute every type.May produce an identity mapping.
- Specified by:
mapTypein interfaceTypeSubstitutions.TypeMapper- Parameters:
type- The type to substitute.- Returns:
- The substituted type.
-
mapParam
- Parameters:
param- The parameter to map.- Returns:
- The result.
-