replaceTypeWithFuture abstract method
void
replaceTypeWithFuture(
- TypeAnnotation typeAnnotation,
- TypeProvider typeProvider
Optionally create an edit to replace the given typeAnnotation
with the
type Future
(with the given type annotation as the type argument). The
typeProvider
is used to check the current type, because if it is already
Future
no edit will be added.
Implementation
void replaceTypeWithFuture(
TypeAnnotation typeAnnotation, TypeProvider typeProvider);