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


How can I check that type (IType) is package private? I see that I can use Flags class to do this, for example:

IType providerType = m_Viewer.getEditor().getProject().findType(qualifiedName);
if (providerType.isLocal() || !Flags.isPublic(providerType.getFlags())) {
return;
}


 but I don't see method for package private check.

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