public static interface TypeSubstitutions.TypeParamMapper extends TypeSubstitutions.TypeMapper
| Modifier and Type | Method and Description |
|---|---|
ReferenceType |
mapParam(TypeParameter param)
Map the given
TypeParameter to a ReferenceType. |
default ReferenceType |
mapType(ReferenceType type)
Optionally substitute every type.
|
substFuncdefault ReferenceType mapType(ReferenceType type)
TypeSubstitutions.TypeMapperMay produce an identity mapping.
mapType in interface TypeSubstitutions.TypeMappertype - The type to substitute.ReferenceType mapParam(TypeParameter param)
param - The parameter to map.