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

Konstantin Scheglov wrote:
Tobias Widmer:
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.


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 ;-)

Markus