public function __construct(\ReflectionProperty $property)
 {
     $this->_property = $property;
     $comment = $property->getDocComment();
     $comment = new DocBloc($comment);
     $this->_annotations = $comment->getAnnotations();
 }
 public function __construct(\ReflectionMethod $method)
 {
     $this->_method = $method;
     $comment = $method->getDocComment();
     $comment = new DocBloc($comment);
     $this->_annotations = $comment->getAnnotations();
 }
 protected function _initClass($class)
 {
     $class = trim($class);
     if (!empty($class)) {
         $this->_class = new \ReflectionClass($class);
         $docComment = $this->_class->getDocComment();
         $docComment = new DocBloc($docComment);
         $this->_annotations = $docComment->getAnnotations();
         $this->_parseProperties();
         $this->_parseMethods();
     }
 }