Class BoundSet.InferenceVarMapper
java.lang.Object
net.covers1624.coffeegrinder.bytecode.transform.transformers.generics.BoundSet.InferenceVarMapper
- All Implemented Interfaces:
TypeSubstitutions.TypeMapper
- Enclosing class:
BoundSet
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedInferenceVarMapper(@Nullable BoundSet.InferenceVarMapper parent, Map<BoundSet.InferenceVar, ReferenceType> map) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.covers1624.coffeegrinder.type.TypeSubstitutions.TypeMapper
substFunc
-
Constructor Details
-
InferenceVarMapper
-
InferenceVarMapper
protected InferenceVarMapper(@Nullable @Nullable BoundSet.InferenceVarMapper parent, Map<BoundSet.InferenceVar, ReferenceType> map)
-
-
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.
-