I believe what you want to check is if it belongs to the #_UnpackagedPackage, in which cas it is not referenced in any package yet.

Thierry

2015-06-16 16:58 GMT+02:00 Yuriy Tymchuk <yuriy.tymchuk@me.com>:
Hi, does RBUnpackagedCodeRule still make sense?

Because from time to time it gives false positives, so I���ve tried to rewrite it as:
���anEntity package mcPackage isNil���

but it turns out that every method and class has MCPackage.

Uko