private function initializeMethodNamesMap($class)
{
$this->serviceIdToMethodNameMap = array();
$this->usedMethodNames = array();
try {
$reflectionClass = new \ReflectionClass($class);
foreach ($reflectionClass->getMethods() as $method) {
$this->usedMethodNames[strtolower($method->getName())] = true;
}
} catch (\ReflectionException $e) {
}
}