ClassGenerator::fromReflection not generate class properties