public function generate(EntityPackage $entity_package)
    {
        $classes = $this->content_provider->getPackageContent($entity_package)->getClasses();
        foreach ($classes as $package_class) {
            /* @var $package_class PackageClass */
            $this->writeIfDebug(
                '        - Finding traits for <info>' . $package_class->getName() . '</info>.'
            );
            $traits = $this->recursivelyFindUseStatementsFor($entity_package, $package_class);
            $this->generateTrait($package_class, array_unique($traits, SORT_REGULAR));
        }
    }