extract getPackagePathOfClass method