>BTW, in the case you describe, if you override the
>method "doIt" in class Extended, does IDEA flag it
>as implementing interface TestIF (with the margin
>icon)?

if class Extended overrides "doIt", IDEA flags it with 'O'



> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 13, 2001 1:45 AM
> To: [EMAIL PROTECTED]
> Subject: [Eap-features] deep inheritance?
> 
> 
> say you have a interface like this:
> public interface TestIF
> {
>    public void doIt();
> }
> 
> and a BaseClass that does not implement the interface,
> but has the method:
> 
> public class Base
> {
>    public void doIt() { System.out.println("doIt"); }
> }
> 
> then an extended class implementing the interface:
> 
> public class Extended extends Base implements TestIF
> {
> }
> 
> -> if you invoke 'find usages, implementing methods, check deep
> inheritance' on the interface-method, it does not show
> Base as result.
> this is somehow correct, as Base indeed does not implement the
> interface, but on the other hand it would be neat if it could somehow 
> be shown that Extended is implementing the method by inheriting
> it from Base...
> 
> yes, I know that this example with a "pre-implementing" base class 
> is probably just bad style ...

________________________________________________________________
Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! 
Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13



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

Reply via email to