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

Reply via email to