Replacing a single reference to a type with a reference to one of its supertypes

To replace a single reference to a type with a reference to one of its supertypes:

You will be prompted for the type to which you would like to update the reference. If the reference can be safely changed to the new type, the refactoring proceeds.

Related reference
Refactoring actions
Refactoring dialogs
Java preferences