[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.jdt] Re: Check for package private type

Markus Keller:

You can use the Flags.AccXXX constants to test whether neither of public, protected or private is present


  Aha, and now I see AccDefault.
  Thanks.


Note that Flags.AccDefault is 0 and denotes the absence of any flag, not only the absence of an accessibility flag.

Yes, so initial advise of Tobias is of course better than my idea. :-)


Special isDefault() method would be better, but for unknown reason there are not such method...


The reason is probably that nobody filed a bug for this valid request so far ;-)

Yes, probably so.
For me this is already not so interesting, because I need this functionality for existing versions of Eclipse.


--
SY, Konstantin.
Advanced Eclipse SWT Designer (http://www.swt-designer.com)