ClassGenerator::fromReflection not generate class properties
Merge branch 'hotfix/3867'

Close #3867
Merge pull request #3868 from 3axap4eHko/issue#2

ClassGenerator::fromReflection not generate class properties
Merge branch 'hotfix/3868' into develop

Forward port #3868