Interface TypeSubstituter
-
- All Known Subinterfaces:
InputConverter<T,S>
- All Known Implementing Classes:
AbstractSimpleTypeAdapter,AbstractTypeAdapter,AbstractTypeSubstitutingMapper,ArrayAdapter,CompletableFutureAdapter,DataFetcherResultMapper,EnumMapToObjectTypeAdapter,GsonArrayAdapter,IdAdapter,IterableAdapter,JsonArrayAdapter,JsonNodeAdapter,MapToListTypeAdapter,OptionalAdapter,OptionalDoubleAdapter,OptionalIntAdapter,OptionalLongAdapter,PublisherAdapter,StreamToCollectionTypeAdapter,VoidToBooleanTypeAdapter
public interface TypeSubstituterThe common interface for mappers and converters that perform their work by substituting the given type for another.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AnnotatedTypegetSubstituteType(AnnotatedType original)Returns the type that should be used in place of the original
-
-
-
Method Detail
-
getSubstituteType
AnnotatedType getSubstituteType(AnnotatedType original)
Returns the type that should be used in place of the original- Parameters:
original- The type to be replaced- Returns:
- The substitute type
-
-