Quickfix for NOTHING_TO_OVERRIDE: add function to one of supertypes.
Support for generic classes in quickfix for NOTHING_TO_OVERRIDE