Title: RE: [Eap-list] find implementing classes etc

Your issue with not finding all the implementing classes is probably related to your project path, not your source path.  Intellij only does usage searchs in your project path.  So the src.jar that comes with the jdk might be in your source paths, but since it's not in your project path, usage searches won't include it.

You can also include the src.jar in your project paths to fix this.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 15, 2001 4:56 AM
To: [EMAIL PROTECTED]
Subject: [Eap-list] find implementing classes etc


An example: When I search for all classes implementing Serializable, IDEA
doesn't report the Exception classes I defined, though the Throwable class
implements Serializable und thus my Exception classes, too.
I think the problem is that IDEA examines the superclasses, but stops, when
the superclass is not contained in the source path.

The same problem occurrs for "find derived classes" (e.g. find all derived
classes of java.lang.Object or Throwable) and it probably occurrs for "find
derived interfaces", too, but I didn't test this.

I have another suggestion: Especially for throwable classes I would like to
have more options in the "find usage" dialog: Find places, where a Throwable
is thrown and/or where a Throwable is caught.

One can imagine even more different options: Find all places, where a type
is used as parameter or as result type or as a field or variable type. But
this could get quite complicated.
A general solution would be an API, through which I can access all
information, IDEA has about the code structure. Then I could write my own code
analysis tools which would be a great help to implement quality tests for my code.
If you continue this thought, an API to plug in own code refactorings would be
the next step, but I'm just pondering...

--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

The information contained in this e-mail including any attachments may constitute Corvis Corporation Proprietary Information that is subject to Non-Disclosure Agreement and cannot be disclosed to any other party without the express consent of  Corvis Corporation.

If you are neither the intended recipient of this e-mail nor responsible for delivering this e-mail to the intended recipient, note that any dissemination, distribution, copying, or retention of this e-mail is prohibited.

If you believe you have received this e-mail in error, we request that you notify the sender by return e-mail and then delete this e-mail  and any return e-mail immediately.

Reply via email to