ClassGenerator::fromReflection not generate class properties

Method ClassGenerator::getName() return class name without namespace, but it compared in code with namespaced class name returned from reflection