DVT Eclipse IDE Quick Fix Proposals - How to Fix Virtual Method Signature Mismatch
Overview
This video shows how you can use the DVT Eclipse IDE to quickly update the signature of a virtual method override so that it matches the overridden method definition.
Explore the design and verification tools: https://www.dvteclipse.com
Or request a license: https://www.dvteclipse.com/request-license
Details
DVT flags errors when the signature of a method override differs from the signature of the overridden virtual method. A light bulb indicates that Quick Fix Proposals are available.
Applying Quick Fix Proposals
Using the Editor Shortcut
Place the editor cursor on the error line, press Ctrl+1 and choose Update Signature to Match Definition from the list of Quick Fix Proposals, then press Enter.
Using the Tooltip Quick Fix
Alternatively, you can hover an underlined identifier and click the Quick Fix link in the tooltip.
The method return type, argument names, argument types, and argument default values are updated to match the signature of the method defined in the parent class.