Incorrect method hierarcy result in 5646

I try to view the method hierarchy of equals(...) in java.lang.Object. The result is weird. I also tried the release version of 5.1.2 and got the same result.



Attachment(s):
hierarchy.png
0
6 comments

hm..looks correct to me...
what do you expect to see?

0

M. J. Milicevic wrote:

hm..looks correct to me...
what do you expect to see?

1. I don't understand why there are so many interfaces in the result
2. I override equals(..) method in several bean classes which are not
shown in the result.

So maybe I misunderstood something. Thanks for reply.

0

aah, I see.
If you look at the bottom of the window you'll see it explained.

Also, on top of the window, you can use "filter" icon, so it only shows methods where equal() is implemented.

hth,
-m

0

You mean the option of "hide classes where the method is legally not implemented" ?

Yes, I used this filter, and got a result reduced to less than 10 result.

But I also used "ctrlshiftf" to find "boolean equals(" in my project and got near 200 usages. Most of them really override equals(...) method. None of then is included in the method hierarchy result.

I'm still confused and IMHO it's a bug.



Attachment(s):
override.png
hierarchy1.png
0

Yes, this should be fixed in the next EAP.
Thanks.

--
regards,
--
Alexey Kudravtsev
Software Developer
JetBrains, Inc, http://www.jetbrains.com
"Develop with pleasure!"

"Cuper" <webmaster@lanhei.com> wrote in message
news:31264201.1157092598797.JavaMail.itn@is.intellij.net...

You mean the option of "hide classes where the method is legally not
implemented" ?

>

Yes, I used this filter, and got a result reduced to less than 10 result.

>

But I also used "ctrlshiftf" to find "boolean equals(" in my project and
got near 200 usages. Most of them really override equals(...) method. None
of then is included in the method hierarchy result.

>

I'm still confused and IMHO it's a bug.



0

Please sign in to leave a comment.