original_string: private function getClass(BuilderFactory $factory, string $newClassName, \ReflectionClass $class) : Builder
      {
          $parentClass = $class->name;
          $builder = $factory
              ->class($newClassName)
              ->extend($parentClass)
              ->implement('Ray\Aop\WeavedInterface');
          $builder = $this->addInterceptorProp($builder);
  
          return $this->addSerialisedAnnotationProp($builder, $class);
      }
code: private function getClass(BuilderFactory $factory, string $newClassName, \ReflectionClass $class) : Builder
      {
          $parentClass = $class->name;
          $builder = $factory
              ->class($newClassName)
              ->extend($parentClass)
              ->implement('Ray\Aop\WeavedInterface');
          $builder = $this->addInterceptorProp($builder);
  
          return $this->addSerialisedAnnotationProp($builder, $class);
      }
code_tokens: private function getClass ( BuilderFactory $ factory , string $ newClassName , \ ReflectionClass $ class ) : Builder { $ parentClass = $ class -> name ; $ builder = $ factory -> class ( $ newClassName ) -> extend ( $ parentClass ) -> implement ( 'Ray\Aop\WeavedInterface' ) ; $ builder = $ this -> addInterceptorProp ( $ builder ) ; return $ this -> addSerialisedAnnotationProp ( $ builder , $ class ) ; }
docstring: Return class statement
docstring_tokens: Return class statement