Ah, then I can do it like:

anEntity package isDefault

Thanks, I like that, but I’ll also wait a bit for other feedback before 
submitting the change :)

Uko

> On 16 Jun 2015, at 17:02, Thierry Goubier <[email protected]> wrote:
> 
> 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 <[email protected] 
> <mailto:[email protected]>>:
> 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
> 

Reply via email to