public static function fromReflection(ReflectionConstant $reflectionConstant)
    {
        $cc = new static($reflectionConstant->getName(), $reflectionConstant->getValue());

        if ($reflectionConstant->getReflectionDocComment()->isEmpty() !== true) {
            $cc->setDocumentation(DocCommentGenerator::fromReflection($reflectionConstant->getReflectionDocComment()));
        }

        return $cc;
    }