public static function getRenderMethodParameters($objectManager)
    {
        $className = get_called_class();
        if (!is_callable(array($className, 'render'))) {
            return array();
        }

        $reflectionService = $objectManager->get(\TYPO3\Flow\Reflection\ReflectionService::class);
        return $reflectionService->getMethodParameters($className, 'render');
    }