ClassBrowser issue with Interfaces


I just wondered why there is no green padlock shown for
interfaces when they are defined as follows:

interface TestInterface
void a();
public void b();

Here, the 'public' keyword is left out, but interfaces
are always public. IDEA shows a green padlock when the
keyword is given, but does show the gray circle for
package visibility when left out.

In contrast, the methods above are both tagged with the
green padlock in structure view which is correct.


1 comment
Comment actions Permalink

Forget my previous post. It is utter crap.
IDEA does it correct an there are indeed Interfaces
that are only package vissible. I think I worked too long today.



Please sign in to leave a comment.