Incorrect feature: Show inherited members shouldnt show members of Object

I am using Idea 6 beta.

In the structure view when you click the 'Show inherited' button, it even shows methods of the Object class.
Although this is semantically correct, i think this should not be the case.

We always know that we have inherited the members of the object class, but the reason why we need to see inherited members is only because we have some other class in the hierarchy.

I feell showing the methods from Object class just adds unnecessary clutter.

4 comments

I don't agree. Having those methods in the structure pane makes it
possible to navigate to them with a click. It's actually more often to
make navigation more convenient than for informational purposes that I
turn on this feature.

Prashant Deva wrote:

I am using Idea 6 beta.

In the structure view when you click the 'Show inherited' button, it even shows methods of the Object class.
Although this is semantically correct, i think this should not be the case.

We always know that we have inherited the members of the object class, but the reason why we need to see inherited members is only because we have some other class in the hierarchy.

I feell showing the methods from Object class just adds unnecessary clutter.

0

It does make it easier, but why the hell would u want to constantly want to navigate to the methods declared in Object.

I mean if there are 200 classes in your project, they all will show these methods in the structure view. You dont need that.

If a class were to ovveride some of the methods in Object, then it would be fine to show them, but its stupid to show them just like that for each class.

0

Because I've overridden them, obviously.

Prashant Deva wrote:

It does make it easier, but why the hell would u want to constantly want to navigate to the methods declared in Object.

I mean if there are 200 classes in your project, they all will show these methods in the structure view. You dont need that.

If a class were to ovveride some of the methods in Object, then it would be fine to show them, but its stupid to show them just like that for each class.

0

you didnt get my original request, did you.

I said its fine to show methods from Object IF they have been overriden.
BUT its overkill to show them for each class if they are not overriden anywhere in the hierarchy.

0

Please sign in to leave a comment.