support annotation on type
Merge pull request #1 from anson0370/annotation_on_type

support annotation on type