understood. I think the problem is the fact that it shows package access,
not public. If I use JAD to decompile the class, it shows it as "public
static interface".

Brian Majewski
Systems Architect
Chrome Systems Corporation
[EMAIL PROTECTED]

PHONE: +1-503-963-6410 / +1-800-936-8906
FAX: +1-503-963-6312
www.chrome.com


Notice:  This e-mail transmission and/or the attachments accompanying it may
contain confidential information belonging to the sender or Chrome Systems
Corporation.  The information is only for the use of the intended recipient.
If you have received this transmission in error, please notify the sender
immediately by reply e-mail, and then destroy all copies of the
transmission.


-----Original Message-----
From: Fedor Karpelevitch [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 18, 2002 10:31 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [Eap-list] Problem resolving subinterfaces


nested interfaces are always static (per JLS).

--
fedor.

----
All progress is based upon a universal innate desire on the part of
every organism to live beyond its income.
                -- Samuel Butler


> -----Original Message-----
> From: Brian Majewski [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 18, 2002 10:19 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: [Eap-list] Problem resolving subinterfaces
> 
> 
> Some more info:
> 
> The inner interface is declared public. It was created in 
> another project
> and jar'ed up. In the current project, IDEA only has access 
> to the jar file.
> If I Ctrl-B to the definition, IDEA's internal decompiler shows the
> interface as a default access static interface ( instead of public
> non-static )
> 
> 
> 
> Brian Majewski
> Systems Architect
> Chrome Systems Corporation
> [EMAIL PROTECTED]
> 
> PHONE: +1-503-963-6410 / +1-800-936-8906
> FAX: +1-503-963-6312
> www.chrome.com
> 
> 
> Notice:  This e-mail transmission and/or the attachments 
> accompanying it may
> contain confidential information belonging to the sender or 
> Chrome Systems
> Corporation.  The information is only for the use of the 
> intended recipient.
> If you have received this transmission in error, please 
> notify the sender
> immediately by reply e-mail, and then destroy all copies of the
> transmission.
> 
> 
> -----Original Message-----
> From: Brian Majewski [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 18, 2002 9:57 AM
> To: EAP List (E-mail)
> Subject: [Eap-list] Problem resolving subinterfaces
> 
> 
> If I have an interface with an inner interface, #604 often ( 
> not always )
> highlights references to the inner interface as unresolvable, 
> although it
> compiles just fine. 
> 
> Example:
> 
> import com.chrome.test.MyInterface;
> 
> public class Test {
>   public Test( TestObject o ) {
>     MyInterface.SubInterface value = o.getValue();
>   }
> }
> 
> 
> SubInterface appears in the code completion popup, but then 
> highlights as an
> error.
> 
> 
> Brian Majewski
> Systems Architect
> Chrome Systems Corporation
> [EMAIL PROTECTED]
> 
> PHONE: +1-503-963-6410 / +1-800-936-8906
> FAX: +1-503-963-6312
> www.chrome.com
> 
> 
> Notice:  This e-mail transmission and/or the attachments 
> accompanying it may
> contain confidential information belonging to the sender or 
> Chrome Systems
> Corporation.  The information is only for the use of the 
> intended recipient.
> If you have received this transmission in error, please 
> notify the sender
> immediately by reply e-mail, and then destroy all copies of the
> transmission.
> 
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-list
> 
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-list
> 

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

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

Reply via email to