Community
Participate
Working Groups
When a supertype is grayed out in the Generalize Type dialog, the user doesn't know why the generalization to that type is not possible. One deeply burried method call can be enough to prevent the refactoring, and when the user is informed about that, he can remove it and proceed. I imagine an "Advanced" button which shows the offending usages for each disabled supertype.
Frank, I like this idea. What do you think ?
I agree this is a good idea. Generalize Type is currently considering only one declaration at the time, so it's not hard to generate "reasons" why a declaration cannot be generalized. I will put this on my to-do list. -Frank