/**
  * Replacement for the original getMethod() method which makes sure
  * that Tx_Extbase_Reflection_MethodReflection objects are returned instead of the
  * orginal ReflectionMethod instances.
  *
  * @return Tx_ExtensionBuilder_Reflection_MethodReflection Method reflection object of the named method
  */
 public function getMethod($name)
 {
     $parentMethod = parent::getMethod($name);
     if (!is_object($parentMethod)) {
         return $parentMethod;
     }
     return new Tx_ExtensionBuilder_Reflection_MethodReflection($this->getName(), $parentMethod->getName());
 }