Makes dava to print ClassConst as pkg.ClassName.class

This is a correction for pull request #202.

Thanks, Souvik Pal <write2souvikpal@gmail.com>, for reporting the bug and the correction.