Finding direct subclasses

If I've got a class, and I want to find all the classes which DIRECTLY subclass it, is there an easy way to do this in IDEA?

The "Go To Implementation(s)" and "Find Usages - Derived Classes" find all subclasses - not just those which are direct subclasses.

The Hierarchy view sort of does it, but there's typically a "Searching" node under the class I'm interested, which suggests that I can't be sure that the classes shown are the only direct subclasses.

So, is there any easier way of doing this?

Thanks,
Calum

1
Avatar
Permanently deleted user

The Hierarchy view sort of does it, but there's typically a "Searching"

node under the class I'm interested, which suggests that I can't be sure
that the classes shown are the only direct subclasses.

It's bug and it's fixed in the build #808.

--
Valentin Kipiatkov
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"


"Calum MacLean" <jiveadmin@jetbrains.com> wrote in message
news:11331363.1048591458003.JavaMail.jrun@is.intellij.net...

If I've got a class, and I want to find all the classes which DIRECTLY

subclass it, is there an easy way to do this in IDEA?
>

The "Go To Implementation(s)" and "Find Usages - Derived Classes" find all

subclasses - not just those which are direct subclasses.
>

The Hierarchy view sort of does it, but there's typically a "Searching"

node under the class I'm interested, which suggests that I can't be sure
that the classes shown are the only direct subclasses.
>

So, is there any easier way of doing this?

>

Thanks,
Calum



0

The only way I found was on the class documentation. For example, for RestClientException class:

https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/web/client/RestClientException.html 

0

请先登录再写评论。