public function __construct(ClassGenerator $class, Type $type) { $this->class = $class; $this->type = $type; }