private function getRealName($param)
    {
        $parameterClosure = $this->getParameterClosure($param);
        if ($parameterClosure->parent != null) {
            return $parameterClosure->parent->parameterName;
        } else {
            return $parameterClosure->parameterName;
        }
    }