use getter to access metadata reflClass property
Merge pull request #232 from jbouzekri/master

use getter to access metadata reflClass property