Add support for class member variable

supersedes #1417
I see. The PlaceholderParser does not handle placeholders in TypeName. Should be easy to fix.