public function generateFieldAnnotations($className, $fieldName)
{
$field = $this->classes[$className]['fields'][$fieldName];
$comment = $field['resource'] ? $field['resource']->get('rdfs:comment') : '';
$annotations = $this->formatDoc($comment, true);
$annotations[0] = sprintf('@var %s %s', $this->toPhpType($field), $annotations[0]);
$annotations[] = '';
return $annotations;
}