public function generateConstantAnnotations($className, $constantName)
{
$resource = $this->classes[$className]['constants'][$constantName]['resource'];
$annotations = $this->formatDoc($resource->get('rdfs:comment'), true);
$annotations[0] = sprintf('@var string %s', $annotations[0]);
return $annotations;
}